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 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue