Fix for the case of zwave value used in several devices. (#6577)

This commit is contained in:
Andrey 2017-03-13 19:19:45 +02:00 committed by Dale Higgs
parent 5d301590c3
commit 5722cf53bf

View file

@ -434,7 +434,7 @@ def setup(hass, config):
node=node, value=value, node_config=node_config, hass=hass)
if not device:
continue
dict_id = value.value_id
dict_id = "{}.{}".format(component, value.value_id)
@asyncio.coroutine
def discover_device(component, device, dict_id):