mirror of
https://github.com/home-assistant/core.git
synced 2025-07-08 13:57:10 +00:00
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:
parent
1f15181522
commit
2740e56fd4
@ -1,4 +1,5 @@
|
|||||||
"""Support for the CO2signal platform."""
|
"""Support for the CO2signal platform."""
|
||||||
|
from datetime import timedelta
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
import CO2Signal
|
import CO2Signal
|
||||||
@ -17,6 +18,7 @@ import homeassistant.helpers.config_validation as cv
|
|||||||
CONF_COUNTRY_CODE = "country_code"
|
CONF_COUNTRY_CODE = "country_code"
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
SCAN_INTERVAL = timedelta(minutes=3)
|
||||||
|
|
||||||
ATTRIBUTION = "Data provided by CO2signal"
|
ATTRIBUTION = "Data provided by CO2signal"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user