Reduce config entry setup/unload boilerplate K-M (#49775)

This commit is contained in:
J. Nick Koston 2021-04-27 06:49:13 -10:00 committed by GitHub
parent b5cb9e4ade
commit b10534359b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
37 changed files with 104 additions and 352 deletions

View file

@ -1,6 +1,6 @@
"""Local IP constants."""
DOMAIN = "local_ip"
PLATFORM = "sensor"
PLATFORMS = ["sensor"]
SENSOR = "address"