Bump zwave-js-server-python to 0.23.0 to support zwave-js 7#48094
Bump zwave-js-server-python to 0.23.0 to support zwave-js 7#48094raman325 merged 13 commits intohome-assistant:devfrom
Conversation
|
Hey there @home-assistant/z-wave, mind taking a look at this pull request as its been labeled with an integration ( |
|
@cgarwood FYI on the |
…rt schema changes
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
|
test failure appears to be unrelated to this PR |
|
@balloob what do you think about the event name split? |
|
In your description
Can you clarify what it is. |
Updated |
MartinHjelmare
left a comment
There was a problem hiding this comment.
If we're happy with the event name split, this looks good.
|
@balloob any other concerns before we merge? I'd like to get this merged soon so I can unblock the new service and squeeze it in before beta |
Breaking change
The event names for Z-Wave JS value notification (central scene) events will now be called
zwave_js_value_notificationand notification (e.g. locking or unlocking a lock) events will now be calledzwave_js_notification. For notification events, the properties that Z-Wave JS provides have changed, and we have changed the HA event property names to reflect that. The parameter that used to be calledlabel(The human-readable label for the notification event) is now calledevent_labelas there is now a newlabelproperty which is the human-readable label for the notification type. In addition, we now support notification events for two command classes, Entry Control and Notification, so the command class is reflected in the event data. You can learn more about the different command class notifications and what each parameter means for the different notifications here: https://zwave-js.github.io/node-zwave-js/#/api/node?id=quotnotificationquotProposed change
Bump
zwave-js-server-pythonto 0.23.0 to supportzwave-js 7.0.0. Major changes that affect HA include:get_log_configreturns a string for log level (LogLevelswitched fromIntEnumtoEnum)update_log_configalso expects astringinstead of anintfor log level but that translation is transparent to the user/consuming application (e.g. frontend) because we always expected astringas input and transformed it into anintas part of thee voluptuous schema.ThermostatModeandColorComponentback toIntEnumsince current value ID format only uses property key and not property key name (Switch ThermostatMode and ColorComponent back to IntEnum home-assistant-libs/zwave-js-server-python#171)Type of change
Example entry for
configuration.yaml:# Example configuration.yamlAdditional information
Checklist
black --fast homeassistant tests)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest.requirements_all.txt.Updated by running
python3 -m script.gen_requirements_all..coveragerc.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests: