Enable dhcp flows for emonitor registered devices (#66584)

This commit is contained in:
J. Nick Koston 2022-02-15 16:17:06 -06:00 committed by GitHub
parent 6134a224dd
commit c6a4139716
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -4,7 +4,10 @@
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/emonitor",
"requirements": ["aioemonitor==1.0.5"],
"dhcp": [{ "hostname": "emonitor*", "macaddress": "0090C2*" }],
"dhcp": [
{"hostname": "emonitor*", "macaddress": "0090C2*"},
{"registered_devices": true}
],
"codeowners": ["@bdraco"],
"iot_class": "local_polling",
"loggers": ["aioemonitor"]

View File

@ -24,6 +24,7 @@ DHCP: list[dict[str, str | bool]] = [
{'domain': 'broadlink', 'macaddress': 'B4430D*'},
{'domain': 'elkm1', 'macaddress': '00409D*'},
{'domain': 'emonitor', 'hostname': 'emonitor*', 'macaddress': '0090C2*'},
{'domain': 'emonitor', 'registered_devices': True},
{'domain': 'flume', 'hostname': 'flume-gw-*'},
{'domain': 'flux_led', 'hostname': '[ba][lk]*', 'macaddress': '18B905*'},
{'domain': 'flux_led', 'hostname': '[ba][lk]*', 'macaddress': '249494*'},