Use platform enum (2) [E-G] (#60933)
This commit is contained in:
parent
79cd281c48
commit
cd1b923e16
42 changed files with 150 additions and 91 deletions
|
@ -2,9 +2,16 @@
|
|||
|
||||
from typing import Literal
|
||||
|
||||
from homeassistant.const import Platform
|
||||
|
||||
DOMAIN = "fritz"
|
||||
|
||||
PLATFORMS = ["binary_sensor", "device_tracker", "sensor", "switch"]
|
||||
PLATFORMS = [
|
||||
Platform.BINARY_SENSOR,
|
||||
Platform.DEVICE_TRACKER,
|
||||
Platform.SENSOR,
|
||||
Platform.SWITCH,
|
||||
]
|
||||
|
||||
DATA_FRITZ = "fritz_data"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue