Add select platform to LaMetric (#79803)

This commit is contained in:
Franck Nijhof 2022-10-10 09:28:36 +02:00 committed by GitHub
parent 7fae85ee85
commit 575501d26a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 185 additions and 1 deletions

View file

@ -7,7 +7,13 @@ from typing import Final
from homeassistant.const import Platform
DOMAIN: Final = "lametric"
PLATFORMS = [Platform.BUTTON, Platform.NUMBER, Platform.SENSOR, Platform.SWITCH]
PLATFORMS = [
Platform.BUTTON,
Platform.NUMBER,
Platform.SELECT,
Platform.SENSOR,
Platform.SWITCH,
]
LOGGER = logging.getLogger(__package__)
SCAN_INTERVAL = timedelta(seconds=30)