mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 08:47:57 +00:00
Remove Netatmo HomeKit discovery method (#38770)
This commit is contained in:
parent
7ac38557e6
commit
f286992b10
@ -74,10 +74,6 @@ class NetatmoFlowHandler(
|
||||
|
||||
return await super().async_step_user(user_input)
|
||||
|
||||
async def async_step_homekit(self, homekit_info):
|
||||
"""Handle HomeKit discovery."""
|
||||
return await self.async_step_user()
|
||||
|
||||
|
||||
class NetatmoOptionsFlowHandler(config_entries.OptionsFlow):
|
||||
"""Handle Netatmo options."""
|
||||
|
@ -39,7 +39,7 @@ async def test_abort_if_existing_entry(hass):
|
||||
data={"host": "0.0.0.0", "properties": {"id": "aa:bb:cc:dd:ee:ff"}},
|
||||
)
|
||||
assert result["type"] == data_entry_flow.RESULT_TYPE_ABORT
|
||||
assert result["reason"] == "single_instance_allowed"
|
||||
assert result["reason"] == "already_configured"
|
||||
|
||||
|
||||
async def test_full_flow(hass, aiohttp_client, aioclient_mock):
|
||||
|
Loading…
x
Reference in New Issue
Block a user