mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
parent
a73fbbaf7a
commit
1f573b46a4
@ -201,7 +201,7 @@ class ZwaveColorLight(ZwaveDimmer):
|
||||
self._rgb = None
|
||||
self._ct = None
|
||||
|
||||
super().__init__(value)
|
||||
super().__init__(value, refresh, delay)
|
||||
|
||||
# Create a listener so the color values can be linked to this entity
|
||||
dispatcher.connect(
|
||||
|
@ -204,7 +204,7 @@ def object_id(value):
|
||||
|
||||
# Add the instance id if there is more than one instance for the value
|
||||
if value.instance > 1:
|
||||
return '{}_{}'.format(object_id, value.instance)
|
||||
return '{}_{}'.format(_object_id, value.instance)
|
||||
return _object_id
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user