Add local_ip unique_id & icon and single_instance_allowed (#33483)
* Add config flow + sensor unique_id & icon to local_ip * single_instance_allowed * Fix test * Martin's review * Name deprecated
This commit is contained in:
parent
dd7fbef948
commit
45b28b8b00
8 changed files with 66 additions and 37 deletions
6
homeassistant/components/local_ip/const.py
Normal file
6
homeassistant/components/local_ip/const.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
"""Local IP constants."""
|
||||
|
||||
DOMAIN = "local_ip"
|
||||
PLATFORM = "sensor"
|
||||
|
||||
SENSOR = "address"
|
Loading…
Add table
Add a link
Reference in a new issue