mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +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)
|
value.set_change_verified(False)
|
||||||
|
|
||||||
if zwave.NETWORK.controller.node_id not in node.groups[1].associations:
|
# if 1 in groups and (zwave.NETWORK.controller.node_id not in
|
||||||
node.groups[1].add_association(zwave.NETWORK.controller.node_id)
|
# groups[1].associations):
|
||||||
|
# node.groups[1].add_association(zwave.NETWORK.controller.node_id)
|
||||||
|
|
||||||
if value.command_class == zwave.COMMAND_CLASS_SENSOR_BINARY:
|
if value.command_class == zwave.COMMAND_CLASS_SENSOR_BINARY:
|
||||||
return [ZWaveBinarySensor(value)]
|
return [ZWaveBinarySensor(value)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user