mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Z-Wave sensors no longer auto associate with controller
This commit is contained in:
parent
a1c6d9d1da
commit
1d33d7d124
@ -22,8 +22,9 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||
|
||||
value.set_change_verified(False)
|
||||
|
||||
if zwave.NETWORK.controller.node_id not in node.groups[1].associations:
|
||||
node.groups[1].add_association(zwave.NETWORK.controller.node_id)
|
||||
# if 1 in groups and (zwave.NETWORK.controller.node_id not in
|
||||
# groups[1].associations):
|
||||
# node.groups[1].add_association(zwave.NETWORK.controller.node_id)
|
||||
|
||||
if value.command_class == zwave.COMMAND_CLASS_SENSOR_BINARY:
|
||||
return [ZWaveBinarySensor(value)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user