mirror of
https://github.com/andvikt/mega_hacs.git
synced 2025-12-11 17:14:28 +05:00
add new events, fix binsensor
This commit is contained in:
@@ -31,4 +31,13 @@ PLATFORMS = [
|
||||
"sensor",
|
||||
]
|
||||
EVENT_BINARY_SENSOR = f'{DOMAIN}.sensor'
|
||||
PATT_SPLIT = re.compile('[;/]')
|
||||
EVENT_BINARY = f'{DOMAIN}.binary'
|
||||
|
||||
PATT_SPLIT = re.compile('[;/]')
|
||||
|
||||
LONG = 'long'
|
||||
RELEASE = 'release'
|
||||
LONG_RELEASE = 'long_release'
|
||||
PRESS = 'press'
|
||||
SINGLE_CLICK = 'single'
|
||||
DOUBLE_CLICK = 'double'
|
||||
|
||||
Reference in New Issue
Block a user