mirror of
https://github.com/home-assistant/core.git
synced 2025-11-14 05:20:17 +00:00
Use new ServiceInfo location in component tests (part 4) (#136065)
This commit is contained in:
@@ -2,15 +2,15 @@
|
||||
|
||||
from ipaddress import ip_address
|
||||
|
||||
from homeassistant.components import zeroconf
|
||||
from homeassistant.const import CONF_ACCESS_TOKEN, CONF_HOST
|
||||
from homeassistant.helpers.service_info.zeroconf import ZeroconfServiceInfo
|
||||
|
||||
AWAIR_UUID = "awair_24947"
|
||||
CLOUD_CONFIG = {CONF_ACCESS_TOKEN: "12345"}
|
||||
LOCAL_CONFIG = {CONF_HOST: "192.0.2.5"}
|
||||
CLOUD_UNIQUE_ID = "foo@bar.com"
|
||||
LOCAL_UNIQUE_ID = "00:B0:D0:63:C2:26"
|
||||
ZEROCONF_DISCOVERY = zeroconf.ZeroconfServiceInfo(
|
||||
ZEROCONF_DISCOVERY = ZeroconfServiceInfo(
|
||||
ip_address=ip_address("192.0.2.5"),
|
||||
ip_addresses=[ip_address("192.0.2.5")],
|
||||
hostname="mock_hostname",
|
||||
|
||||
Reference in New Issue
Block a user