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
This commit is contained in:
Alistair Galbraith 2019-01-08 20:13:47 -08:00 committed by Paulus Schoutsen
parent 6d3343e4d1
commit 35cb0458fa

View File

@ -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 {