* Resolves #17196, Resolves #18739 - Hue Beyond light fixtures being incorrectly recognized * Removed long code lines that were failing code review * Removed trailing whitespacepull/19897/head
parent
4ec313cb3b
commit
f019131352
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue