Bump zwave-js-server-python to 0.42.0 (#79020)

This commit is contained in:
Raman Gupta 2022-09-28 21:24:04 -04:00 committed by GitHub
parent 63f2c4ab98
commit 3884b4b6bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 93 additions and 1164 deletions

View file

@ -9,7 +9,7 @@ import voluptuous as vol
from zwave_js_server.const import CommandClass
from zwave_js_server.const.command_class.lock import ATTR_CODE_SLOT, ATTR_USERCODE
from zwave_js_server.const.command_class.meter import CC_SPECIFIC_METER_TYPE
from zwave_js_server.model.value import get_value_id
from zwave_js_server.model.value import get_value_id_str
from zwave_js_server.util.command_class.meter import get_meter_type
from homeassistant.components.lock import DOMAIN as LOCK_DOMAIN
@ -341,7 +341,7 @@ async def async_get_action_capabilities(
}
if action_type == SERVICE_SET_CONFIG_PARAMETER:
value_id = get_value_id(
value_id = get_value_id_str(
node,
CommandClass.CONFIGURATION,
config[ATTR_CONFIG_PARAMETER],