mirror of
https://github.com/home-assistant/core.git
synced 2025-08-09 23:55:07 +02:00
Do not expect Hue light to have a brightness
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user