Use platform enum (3) [H-L] (#60937)

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
This commit is contained in:
Marc Mueller 2021-12-06 04:10:07 +01:00 committed by GitHub
parent e0cb33a0a1
commit 40b99135e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
42 changed files with 165 additions and 132 deletions

View file

@ -1,6 +1,7 @@
"""Local IP constants."""
from homeassistant.const import Platform
DOMAIN = "local_ip"
PLATFORMS = ["sensor"]
PLATFORMS = [Platform.SENSOR]
SENSOR = "address"