Implement local discovery of Smappee series-2 devices and improvements (#38728)

* prepare local api support for Smappee2-series

* Series-2 devices are now supported

* remove switch scan_interval
This commit is contained in:
bsmappee authored and GitHub committed 2020-08-26 00:37:53 +02:00
1 parent c87e03ee6f
commit 11f121b008
7 files changed
+18 -9

No files matched your search

+1 -1
View File
@@ -119,7 +119,7 @@ async def test_full_user_wrong_mdns(hass):
"""Test we abort user flow if unsupported mDNS name got resolved."""
with patch("pysmappee.api.SmappeeLocalApi.logon", return_value={}), patch(
"pysmappee.api.SmappeeLocalApi.load_advanced_config",
return_value=[{"key": "mdnsHostName", "value": "Smappee2006000212"}],
return_value=[{"key": "mdnsHostName", "value": "Smappee5010000001"}],
), patch(
"pysmappee.api.SmappeeLocalApi.load_command_control_config", return_value=[]
), patch(