From 73ec049d1ca800a9bbc51ff6cf76e9fc8fc6c51e Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 27 Feb 2016 14:27:16 -0800 Subject: [PATCH] Do not expect Hue light to have a brightness --- homeassistant/components/light/hue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/light/hue.py b/homeassistant/components/light/hue.py index a970a8681c9..a183d1b533b 100644 --- a/homeassistant/components/light/hue.py +++ b/homeassistant/components/light/hue.py @@ -194,7 +194,7 @@ class HueLight(Light): @property def brightness(self): """ Brightness of this light between 0..255. """ - return self.info['state']['bri'] + return self.info['state'].get('bri') @property def xy_color(self):