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 Paulus Schoutsen
parent a3a14f9ea4
commit aeeb927e19

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):