diff --git a/homeassistant/components/hue/__init__.py b/homeassistant/components/hue/__init__.py index b10e5bb29de..7618e702d04 100644 --- a/homeassistant/components/hue/__init__.py +++ b/homeassistant/components/hue/__init__.py @@ -19,7 +19,7 @@ from .bridge import HueBridge # Loading the config flow file will register the flow from .config_flow import configured_hosts -REQUIREMENTS = ['aiohue==1.8.0'] +REQUIREMENTS = ['aiohue==1.9.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hue/light.py b/homeassistant/components/hue/light.py index 3327d0f9dc2..51e50f629b5 100644 --- a/homeassistant/components/hue/light.py +++ b/homeassistant/components/hue/light.py @@ -230,12 +230,18 @@ class HueLight(Light): self.gamut_typ = self.light.colorgamuttype self.gamut = self.light.colorgamut _LOGGER.debug("Color gamut of %s: %s", self.name, str(self.gamut)) + if self.light.swupdatestate == "readytoinstall": + err = ( + "Please check for software updates of the bridge " + "and/or the bulb: %s, in the Philips Hue App." + ) + _LOGGER.warning(err, self.name) if self.gamut: if not color.check_valid_gamut(self.gamut): - err = "Please check for software updates of the bridge " \ - "and/or bulb in the Philips Hue App, " \ - "Color gamut of %s: %s, not valid, " \ - "setting gamut to None." + err = ( + "Color gamut of %s: %s, not valid, " + "setting gamut to None." + ) _LOGGER.warning(err, self.name, str(self.gamut)) self.gamut_typ = GAMUT_TYPE_UNAVAILABLE self.gamut = None diff --git a/requirements_all.txt b/requirements_all.txt index 1f478f4bff9..6ccf12dba1e 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -115,7 +115,7 @@ aioharmony==0.1.5 aiohttp_cors==0.7.0 # homeassistant.components.hue -aiohue==1.8.0 +aiohue==1.9.0 # homeassistant.components.sensor.iliad_italy aioiliad==0.1.1 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 2dbd2760c7d..390a2cac46a 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -41,7 +41,7 @@ aioautomatic==0.6.5 aiohttp_cors==0.7.0 # homeassistant.components.hue -aiohue==1.8.0 +aiohue==1.9.0 # homeassistant.components.unifi aiounifi==4