Philips Hue: Add bridge update prompt (#21119)

* Add a prompt if bridge update is available.

* Change logger warning for light update

The self.light.swupdatestate only checks for updates of that specific light, it does not check for updates of the bridge.
Theirfore the warning message schould be updated.

* add space

* fix tests

* rename to swupdate2_bridge_state

* update aiohue to v1.9.1

* update aiohue to v1.9.1

* update aiohue to v1.9.1
This commit is contained in:
starkillerOG authored and Paulus Schoutsen committed 2019-02-18 21:31:42 -08:00
1 parent bc46e48d23
commit 921efbdfef
5 files changed
+16 -12

No files matched your search

+2 -4
View File
@@ -97,10 +97,8 @@ async def test_config_passed_to_config_entry(hass):
mock_bridge.return_value.api.config = Mock(
mac='mock-mac',
bridgeid='mock-bridgeid',
raw={
'modelid': 'mock-modelid',
'swversion': 'mock-swversion',
}
modelid='mock-modelid',
swversion='mock-swversion'
)
# Can't set name via kwargs
mock_bridge.return_value.api.config.name = 'mock-name'