Use platform enum (3) [H-L] (#60937)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
This commit is contained in:
parent
e0cb33a0a1
commit
40b99135e5
42 changed files with 165 additions and 132 deletions
|
@ -1,6 +1,7 @@
|
|||
"""Local IP constants."""
|
||||
from homeassistant.const import Platform
|
||||
|
||||
DOMAIN = "local_ip"
|
||||
PLATFORMS = ["sensor"]
|
||||
PLATFORMS = [Platform.SENSOR]
|
||||
|
||||
SENSOR = "address"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue