This commit is contained in:
Jack Chapple 2016-11-22 03:35:36 +00:00 committed by Paulus Schoutsen
parent a73fbbaf7a
commit 1f573b46a4
2 changed files with 2 additions and 2 deletions

View File

@ -201,7 +201,7 @@ class ZwaveColorLight(ZwaveDimmer):
self._rgb = None self._rgb = None
self._ct = 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 # Create a listener so the color values can be linked to this entity
dispatcher.connect( dispatcher.connect(

View File

@ -204,7 +204,7 @@ def object_id(value):
# Add the instance id if there is more than one instance for the value # Add the instance id if there is more than one instance for the value
if value.instance > 1: if value.instance > 1:
return '{}_{}'.format(object_id, value.instance) return '{}_{}'.format(_object_id, value.instance)
return _object_id return _object_id