diff --git a/homeassistant/components/light/zwave.py b/homeassistant/components/light/zwave.py index e1049192f51..de471db4957 100644 --- a/homeassistant/components/light/zwave.py +++ b/homeassistant/components/light/zwave.py @@ -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( diff --git a/homeassistant/components/zwave/__init__.py b/homeassistant/components/zwave/__init__.py index 471b45feed0..7c4d5e02879 100755 --- a/homeassistant/components/zwave/__init__.py +++ b/homeassistant/components/zwave/__init__.py @@ -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