mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
* 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:
parent
6d3343e4d1
commit
35cb0458fa
@ -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…
x
Reference in New Issue
Block a user