Fix hue test
parent
9c755d8fd4
commit
4de3871a78
|
@ -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],
|
||||
)
|
||||
}
|
||||
)
|
||||
|
|
|
@ -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",
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue