Add zeroconf detection to devolo Home Control (#47934)

Co-authored-by: Markus Bong <2Fake1987@gmail.com>
This commit is contained in:
Guido Schmitz
2021-04-22 20:38:56 +02:00
committed by GitHub
parent 34b258e812
commit 77372d9094
9 changed files with 161 additions and 53 deletions

View 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": ""}}