mirror of
https://github.com/home-assistant/core.git
synced 2025-07-10 14:57:09 +00:00
Philips Hue - Remove unnessesary warning (#20394)
for white hue bulbs and bulbs from other brands like Ikea and Innr, this warning will be issued while this is not really a problem. So just remove the warning.
This commit is contained in:
parent
68bd5f5df8
commit
c508ba166c
@ -228,9 +228,6 @@ class HueLight(Light):
|
|||||||
self.is_philips = light.manufacturername == 'Philips'
|
self.is_philips = light.manufacturername == 'Philips'
|
||||||
self.gamut_typ = self.light.colorgamuttype
|
self.gamut_typ = self.light.colorgamuttype
|
||||||
self.gamut = self.light.colorgamut
|
self.gamut = self.light.colorgamut
|
||||||
if not self.gamut:
|
|
||||||
err_msg = 'Can not get color gamut of light "%s"'
|
|
||||||
_LOGGER.warning(err_msg, self.name)
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def unique_id(self):
|
def unique_id(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user