Set up konnected entities even if panel isn't immediately reachable (#38879)

This commit is contained in:
Kit Klein authored and GitHub committed 2020-08-17 00:05:11 +02:00
1 parent 472b12bef5
commit a6236886e4
5 files changed
+164 -10

No files matched your search

+2
View File
@@ -411,12 +411,14 @@ async def test_api(hass, aiohttp_client, mock_panel):
"id": "112233445566",
"model": "Konnected Pro",
"access_token": "abcdefgh",
"api_host": "http://192.168.86.32:8123",
"default_options": config_flow.OPTIONS_SCHEMA({config_flow.CONF_IO: {}}),
}
)
device_options = config_flow.OPTIONS_SCHEMA(
{
"api_host": "http://192.168.86.32:8123",
"io": {
"1": "Binary Sensor",
"2": "Binary Sensor",