Closed Ernst79 closed 1 year ago
Base: 73.65% // Head: 74.94% // Increases project coverage by +1.28%
:tada:
Coverage data is based on head (
b796cdb
) compared to base (2f43a29
). Patch coverage: 87.50% of modified lines in pull request are covered.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
As proposed in https://github.com/home-assistant/bthome.io/issues/5#issuecomment-1285504858 this PR removes the switch events and changes the evens for buttons and dimmers.
Button --> events (press, single press, double press, triple press, long press, double long press, triple long press) Dimmer --> events (rotate right x steps, rotate left x steps)
Also added the option to broadcast "no event", which you will need in case you have a triple button device, and only want to send an event with e.g. the 2nd and 3rd button. As the order of button 1, 2 an 3 has to be the same in each message, it will be required to send "no event (None)" for the first button.