Rename of the zwave hass.data constants (#7768)
* Rename of the zwave hass.data constants * Remove zwave since it is already implied
This commit is contained in:
1 parent
3a843e1817
commit
65c3201fa6
9 files changed
+47
-48
No files matched your search
@@ -128,7 +128,7 @@ def async_setup_platform(hass, config, async_add_devices, discovery_info=None):
|
||||
|
||||
descriptions = load_yaml_config_file(
|
||||
path.join(path.dirname(__file__), 'services.yaml'))
|
||||
network = hass.data[zwave.ZWAVE_NETWORK]
|
||||
network = hass.data[zwave.const.DATA_NETWORK]
|
||||
|
||||
def set_usercode(service):
|
||||
"""Set the usercode to index X on the lock."""
|
||||
|
||||
Reference in new issue
Block a user