diff --git a/homeassistant/components/hue/__init__.py b/homeassistant/components/hue/__init__.py index 238ea06961d..b294a811c61 100644 --- a/homeassistant/components/hue/__init__.py +++ b/homeassistant/components/hue/__init__.py @@ -44,7 +44,11 @@ CONFIG_SCHEMA = vol.Schema( DOMAIN: vol.Schema( { vol.Optional(CONF_BRIDGES): vol.All( - cv.ensure_list, [BRIDGE_CONFIG_SCHEMA] + cv.ensure_list, + [ + cv.deprecated("filename", invalidation_version="0.106.0"), + vol.All(BRIDGE_CONFIG_SCHEMA), + ], ) } ) diff --git a/tests/components/hue/test_init.py b/tests/components/hue/test_init.py index b48d66990e8..2e147fd097b 100644 --- a/tests/components/hue/test_init.py +++ b/tests/components/hue/test_init.py @@ -33,6 +33,7 @@ async def test_setup_defined_hosts_known_auth(hass): hue.CONF_HOST: "0.0.0.0", hue.CONF_ALLOW_HUE_GROUPS: False, hue.CONF_ALLOW_UNREACHABLE: True, + "filename": "bla", } } }, @@ -49,6 +50,7 @@ async def test_setup_defined_hosts_known_auth(hass): hue.CONF_HOST: "0.0.0.0", hue.CONF_ALLOW_HUE_GROUPS: False, hue.CONF_ALLOW_UNREACHABLE: True, + "filename": "bla", } }