From 7618fe6111a531e62616c422367d4a4b295361a8 Mon Sep 17 00:00:00 2001 From: TheJulianJES Date: Fri, 23 Oct 2020 15:14:37 +0200 Subject: [PATCH] Fix polling of color for ZHA lights not updating (#42248) --- homeassistant/components/zha/light.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/zha/light.py b/homeassistant/components/zha/light.py index ba05d63df12..34c27f0af45 100644 --- a/homeassistant/components/zha/light.py +++ b/homeassistant/components/zha/light.py @@ -457,8 +457,8 @@ class Light(BaseLight, ZhaEntity): ): self._color_temp = results["color_temperature"] - color_x = results.get("color_x") - color_y = results.get("color_y") + color_x = results.get("current_x") + color_y = results.get("current_y") if color_x is not None and color_y is not None: self._hs_color = color_util.color_xy_to_hs( float(color_x / 65535), float(color_y / 65535)