mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Fix hue test
This commit is contained in:
parent
6c9d4a6d15
commit
e71c7e1f5e
@ -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…
x
Reference in New Issue
Block a user