1 parent
0647bb7f6b
commit
e5aa40fa5d
2 files changed
+2
-2
No files matched your search
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user