mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
Set tahoma cover scan interval to 60 seconds (#11447)
* Increase tahoma scan interval to 60 * import timedelta * fix lint
This commit is contained in:
parent
6cb02128b4
commit
35f35050ff
@ -5,6 +5,7 @@ For more details about this platform, please refer to the documentation at
|
|||||||
https://home-assistant.io/components/cover.tahoma/
|
https://home-assistant.io/components/cover.tahoma/
|
||||||
"""
|
"""
|
||||||
import logging
|
import logging
|
||||||
|
from datetime import timedelta
|
||||||
|
|
||||||
from homeassistant.components.cover import CoverDevice, ENTITY_ID_FORMAT
|
from homeassistant.components.cover import CoverDevice, ENTITY_ID_FORMAT
|
||||||
from homeassistant.components.tahoma import (
|
from homeassistant.components.tahoma import (
|
||||||
@ -14,6 +15,8 @@ DEPENDENCIES = ['tahoma']
|
|||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
SCAN_INTERVAL = timedelta(seconds=60)
|
||||||
|
|
||||||
|
|
||||||
def setup_platform(hass, config, add_devices, discovery_info=None):
|
def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||||
"""Set up Tahoma covers."""
|
"""Set up Tahoma covers."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user