Bump zwave-js-server-python to 0.23.0 to support zwave-js 7 (#48094)
* Bump zwave-js-server-python to 0.23.0 and update integration to support schema changes * refactor notification evenets a bit * fix tests and bug fixes * additional changes due to new PR * add command class and command name * use new event names so we can retain event property names * handle command status being returned from async_set_config_parameter * bump dependency version * adjust log message to be consistent * disable pylint warning * Update homeassistant/components/zwave_js/services.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * add test for awake node * switch async_get_registry to async_get Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
parent
cf6352e93c
commit
dda9f957b6
12 changed files with 175 additions and 61 deletions
|
@ -28,7 +28,8 @@ EVENT_DEVICE_ADDED_TO_REGISTRY = f"{DOMAIN}_device_added_to_registry"
|
|||
LOGGER = logging.getLogger(__package__)
|
||||
|
||||
# constants for events
|
||||
ZWAVE_JS_EVENT = f"{DOMAIN}_event"
|
||||
ZWAVE_JS_VALUE_NOTIFICATION_EVENT = f"{DOMAIN}_value_notification"
|
||||
ZWAVE_JS_NOTIFICATION_EVENT = f"{DOMAIN}_notification"
|
||||
ATTR_NODE_ID = "node_id"
|
||||
ATTR_HOME_ID = "home_id"
|
||||
ATTR_ENDPOINT = "endpoint"
|
||||
|
@ -43,6 +44,11 @@ ATTR_PROPERTY_KEY_NAME = "property_key_name"
|
|||
ATTR_PROPERTY = "property"
|
||||
ATTR_PROPERTY_KEY = "property_key"
|
||||
ATTR_PARAMETERS = "parameters"
|
||||
ATTR_EVENT = "event"
|
||||
ATTR_EVENT_LABEL = "event_label"
|
||||
ATTR_EVENT_TYPE = "event_type"
|
||||
ATTR_EVENT_DATA = "event_data"
|
||||
ATTR_DATA_TYPE = "data_type"
|
||||
|
||||
# service constants
|
||||
SERVICE_SET_CONFIG_PARAMETER = "set_config_parameter"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue