From 1bc916927ca7138ac136e722a41a6ac2f65a9c25 Mon Sep 17 00:00:00 2001 From: Marco Orovecchia Date: Mon, 21 May 2018 17:02:50 +0200 Subject: [PATCH] fix nanoleaf aurora lights min and max temperature (#14571) * fixed nanoleaf aurora lights min and max temperature * review changes --- homeassistant/components/light/nanoleaf_aurora.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/homeassistant/components/light/nanoleaf_aurora.py b/homeassistant/components/light/nanoleaf_aurora.py index 99c07166037..c26766d8deb 100644 --- a/homeassistant/components/light/nanoleaf_aurora.py +++ b/homeassistant/components/light/nanoleaf_aurora.py @@ -92,6 +92,16 @@ class AuroraLight(Light): """Return the list of supported effects.""" return self._effects_list + @property + def min_mireds(self): + """Return the coldest color_temp that this light supports.""" + return 154 + + @property + def max_mireds(self): + """Return the warmest color_temp that this light supports.""" + return 833 + @property def name(self): """Return the display name of this light."""