File tree Expand file tree Collapse file tree
tests/components/plugwise Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ Versions from 0.40 and up
88- Chores
99 - Introduce prek (for pre-commit) & align with v2 gh-actions
1010 - Replace node-based markdownlint with pythonic library
11+ - Fix zeroconf.ZeroconfServiceInfo use via PR [ #1020 ] ( https://github.com/plugwise/plugwise-beta/pull/1020 )
1112
1213## v0.62.2
1314
Original file line number Diff line number Diff line change 1212)
1313import pytest
1414
15- from homeassistant .components import zeroconf
1615from homeassistant .components .plugwise .const import (
1716 CONF_HOMEKIT_EMULATION ,
1817 CONF_REFRESH_INTERVAL ,
4645TEST_USERNAME2 = "stretch"
4746TEST_SMILE_ID = "smile12345"
4847
49- TEST_DISCOVERY = zeroconf . ZeroconfServiceInfo (
48+ TEST_DISCOVERY = ZeroconfServiceInfo (
5049 ip_address = TEST_HOST ,
5150 ip_addresses = [TEST_HOST ],
5251 # The added `-2` is to simulate mDNS collision
6059 },
6160 type = "mock_type" ,
6261)
63- TEST_DISCOVERY2 = zeroconf . ZeroconfServiceInfo (
62+ TEST_DISCOVERY2 = ZeroconfServiceInfo (
6463 ip_address = TEST_HOST ,
6564 ip_addresses = [TEST_HOST ],
6665 hostname = f"{ TEST_HOSTNAME2 } .local." ,
You can’t perform that action at this time.
0 commit comments