Co2signal, set SCAN_INTERVAL (#53023)

* limit co2signal, wip

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* limit co2signal

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* limit co2signal

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
This commit is contained in:
Daniel Hjelseth Høyer 2021-07-14 19:58:02 +02:00 committed by GitHub
parent 1f15181522
commit 2740e56fd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,5 @@
"""Support for the CO2signal platform."""
from datetime import timedelta
import logging
import CO2Signal
@ -17,6 +18,7 @@ import homeassistant.helpers.config_validation as cv
CONF_COUNTRY_CODE = "country_code"
_LOGGER = logging.getLogger(__name__)
SCAN_INTERVAL = timedelta(minutes=3)
ATTRIBUTION = "Data provided by CO2signal"