Use platform enum (7) [T-Z] (#60948)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev> Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
73c880b6c2
commit
b79b35abb5
45 changed files with 200 additions and 136 deletions
|
@ -5,13 +5,15 @@ from datetime import timedelta
|
|||
from logging import Logger, getLogger
|
||||
from typing import Final
|
||||
|
||||
from homeassistant.const import Platform
|
||||
|
||||
LOGGER: Logger = getLogger(__package__)
|
||||
|
||||
# The free plan is limited to 10 requests/minute
|
||||
COORDINATOR_UPDATE_INTERVAL: timedelta = timedelta(seconds=10)
|
||||
|
||||
DOMAIN: Final = "uptimerobot"
|
||||
PLATFORMS: Final = ["binary_sensor"]
|
||||
PLATFORMS: Final = [Platform.BINARY_SENSOR]
|
||||
|
||||
ATTRIBUTION: Final = "Data provided by UptimeRobot"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue