Fix hue test

This commit is contained in:
Paulus Schoutsen 2020-02-20 08:11:27 -08:00
parent 6c9d4a6d15
commit e71c7e1f5e
2 changed files with 2 additions and 9 deletions

View File

@ -46,13 +46,7 @@ CONFIG_SCHEMA = vol.Schema(
DOMAIN: vol.Schema(
{
vol.Optional(CONF_BRIDGES): vol.All(
cv.ensure_list,
[
vol.All(
cv.deprecated("filename", invalidation_version="0.106.0"),
BRIDGE_CONFIG_SCHEMA,
),
],
cv.ensure_list, [BRIDGE_CONFIG_SCHEMA],
)
}
)

View File

@ -37,7 +37,7 @@ async def test_setup_defined_hosts_known_auth(hass):
hue.CONF_ALLOW_HUE_GROUPS: False,
hue.CONF_ALLOW_UNREACHABLE: True,
},
{hue.CONF_HOST: "1.1.1.1", "filename": "bla"},
{hue.CONF_HOST: "1.1.1.1"},
]
}
},
@ -59,7 +59,6 @@ async def test_setup_defined_hosts_known_auth(hass):
hue.CONF_HOST: "1.1.1.1",
hue.CONF_ALLOW_HUE_GROUPS: True,
hue.CONF_ALLOW_UNREACHABLE: False,
"filename": "bla",
},
}