mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Add zeroconf detection to devolo Home Control (#47934)
Co-authored-by: Markus Bong <2Fake1987@gmail.com>
This commit is contained in:
22
tests/components/devolo_home_control/const.py
Normal file
22
tests/components/devolo_home_control/const.py
Normal file
@@ -0,0 +1,22 @@
|
||||
"""Constants used for mocking data."""
|
||||
|
||||
DISCOVERY_INFO = {
|
||||
"host": "192.168.0.1",
|
||||
"port": 14791,
|
||||
"hostname": "test.local.",
|
||||
"type": "_dvl-deviceapi._tcp.local.",
|
||||
"name": "dvl-deviceapi",
|
||||
"properties": {
|
||||
"Path": "/deviceapi",
|
||||
"Version": "v0",
|
||||
"Features": "",
|
||||
"MT": "2600",
|
||||
"SN": "1234567890",
|
||||
"FirmwareVersion": "8.90.4",
|
||||
"PlcMacAddress": "AA:BB:CC:DD:EE:FF",
|
||||
},
|
||||
}
|
||||
|
||||
DISCOVERY_INFO_WRONG_DEVOLO_DEVICE = {"properties": {"MT": "2700"}}
|
||||
|
||||
DISCOVERY_INFO_WRONG_DEVICE = {"properties": {"Features": ""}}
|
||||
Reference in New Issue
Block a user