mirror of
https://github.com/home-assistant/core.git
synced 2026-09-28 02:18:10 -04:00
Fix hue retry crash (#21083)
* Fix Hue retry crash * Fix hue retry crash * Fix tests
This commit is contained in:
committed by
Paulus Schoutsen
parent
2de65af3fa
commit
da672c6593
@@ -39,7 +39,7 @@ async def test_setup_defined_hosts_known_auth(hass):
|
||||
assert len(mock_config_entries.flow.mock_calls) == 0
|
||||
|
||||
# Config stored for domain.
|
||||
assert hass.data[hue.DOMAIN] == {
|
||||
assert hass.data[hue.DATA_CONFIGS] == {
|
||||
'0.0.0.0': {
|
||||
hue.CONF_HOST: '0.0.0.0',
|
||||
hue.CONF_FILENAME: 'bla.conf',
|
||||
@@ -73,7 +73,7 @@ async def test_setup_defined_hosts_no_known_auth(hass):
|
||||
}
|
||||
|
||||
# Config stored for domain.
|
||||
assert hass.data[hue.DOMAIN] == {
|
||||
assert hass.data[hue.DATA_CONFIGS] == {
|
||||
'0.0.0.0': {
|
||||
hue.CONF_HOST: '0.0.0.0',
|
||||
hue.CONF_FILENAME: 'bla.conf',
|
||||
|
||||
Reference in New Issue
Block a user