Fix hue retry crash (#21083)

* Fix Hue retry crash

* Fix hue retry crash

* Fix tests
This commit is contained in:
Paulus Schoutsen
2019-02-15 10:32:22 -08:00
committed by Paulus Schoutsen
parent 2de65af3fa
commit da672c6593
2 changed files with 8 additions and 5 deletions
+2 -2
View File
@@ -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',