Add zwave_js discovery schema for Vision Security ZL7432 (#49510)
* Add zwave_js discovery schema for Vision Security ZL7432 * add tests * fix test * add correct fixture * Make discussed changes * fix tests * move event handler * fix logic to get entity ID * add test * make discovery test more explicit * remove domain from event data * always provide entity_id key to make automations easier and translate value if possible * formatting * comment * dont overwrite value
This commit is contained in:
parent
d7247c2ace
commit
1cb907c2e3
8 changed files with 618 additions and 6 deletions
|
@ -21,6 +21,7 @@ LOGGER = logging.getLogger(__package__)
|
|||
# constants for events
|
||||
ZWAVE_JS_VALUE_NOTIFICATION_EVENT = f"{DOMAIN}_value_notification"
|
||||
ZWAVE_JS_NOTIFICATION_EVENT = f"{DOMAIN}_notification"
|
||||
ZWAVE_JS_VALUE_UPDATED_EVENT = f"{DOMAIN}_value_updated"
|
||||
ATTR_NODE_ID = "node_id"
|
||||
ATTR_HOME_ID = "home_id"
|
||||
ATTR_ENDPOINT = "endpoint"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue