From 1f573b46a45687ca2681342c55d9cc46f1e2bb65 Mon Sep 17 00:00:00 2001 From: Jack Chapple Date: Tue, 22 Nov 2016 03:35:36 +0000 Subject: [PATCH] Fixes #4500 (#4502) --- homeassistant/components/light/zwave.py | 2 +- homeassistant/components/zwave/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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