mirror of
https://github.com/home-assistant/core.git
synced 2025-12-26 14:08:21 +00:00
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:
committed by
Paulus Schoutsen
parent
bc46e48d23
commit
921efbdfef
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user