From 35cb0458fa1ec5524f4d07a0b95508afca9f4836 Mon Sep 17 00:00:00 2001 From: Alistair Galbraith Date: Tue, 8 Jan 2019 20:13:47 -0800 Subject: [PATCH] Resolves #17196, Resolves #18739 - Hue Beyond light fixture errors (#19874) * Resolves #17196, Resolves #18739 - Hue Beyond light fixtures being incorrectly recognized * Removed long code lines that were failing code review * Removed trailing whitespace --- homeassistant/components/light/hue.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/light/hue.py b/homeassistant/components/light/hue.py index 686fc01caf9..28a2d79de13 100644 --- a/homeassistant/components/light/hue.py +++ b/homeassistant/components/light/hue.py @@ -298,7 +298,8 @@ class HueLight(Light): @property def device_info(self): """Return the device info.""" - if self.light.type in ('LightGroup', 'Room'): + if self.light.type in ('LightGroup', 'Room', + 'Luminaire', 'LightSource'): return None return {