BTHome.ButtonEvent (BTHome v0.1.0)
View SourceDefines button events for BTHome v2 format.
This module provides constants for button events that match the Python BTHome library's ButtonEvent enum values.
Summary
Functions
Returns all valid button event types.
Double button press event.
Button hold press event.
Long double button press event.
Long button press event.
Long triple button press event.
No button event occurred.
Single button press event.
Button release event.
Triple button press event.
Checks if the given value is a valid button event type.
Functions
Returns all valid button event types.
Double button press event.
Button hold press event.
Long double button press event.
Long button press event.
Long triple button press event.
No button event occurred.
Single button press event.
Button release event.
Triple button press event.
Checks if the given value is a valid button event type.