Add button platform to LaMetric (#76768)

* Add button platform to LaMetric

* coveragerc

* Fix docstring

Co-authored-by: Franck Nijhof <git@frenck.dev>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
Franck Nijhof 2022-08-24 10:10:36 +02:00 committed by GitHub
parent 619e99d24c
commit c26d6879ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 88 additions and 1 deletions

View file

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