Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing hold_press event in bthome #135486

Open
JonRutherford opened this issue Jan 13, 2025 · 2 comments
Open

Missing hold_press event in bthome #135486

JonRutherford opened this issue Jan 13, 2025 · 2 comments

Comments

@JonRutherford
Copy link

The problem

I’m trying to dim a set of lights using a Shelly BLU Switch 4. I’ve so far managed to integrate this device using bthome, with all 4 buttons showing up as entities. Each button produces events for automations (according to the bthome spec):

0x01 press
0x02 double_press
0x03 triple_press
0x04 long_press
0x05 long_double_press
0x06 long_triple_press

One event is missing though, hold_press 0x80.

My device supports this event type, and is on the latest firmware version 1.0.20-rc8.

Support for hold_press was added to bthome-ble in 3.9.0.

Am I doing something wrong, or is this event not supported or not working as intended in HA bthome integration?

What version of Home Assistant Core has the issue?

2025.1.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

BTHome

Link to integration documentation on our website

https://www.home-assistant.io/integrations/bthome/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Nothing in the logs regarding these events.

Additional information

No response

@home-assistant
Copy link

Hey there @Ernst79, @thecode, mind taking a look at this issue as it has been labeled with an integration (bthome) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of bthome can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign bthome Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


bthome documentation
bthome source
(message by IssueLinks)

@Ernst79
Copy link
Contributor

Ernst79 commented Jan 13, 2025

It seems like we didn’t add that event to the BTHome component in home assistant core.

"long_triple_press",

Should be an easy fix, will have a look later this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants