Set tahoma cover scan interval to 60 seconds (#11447)

* Increase tahoma scan interval to 60

* import timedelta

* fix lint
This commit is contained in:
Thijs de Jong 2018-01-05 01:02:31 +01:00 committed by Anders Melchiorsen
parent 6cb02128b4
commit 35f35050ff

View File

@ -5,6 +5,7 @@ For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/cover.tahoma/
"""
import logging
from datetime import timedelta
from homeassistant.components.cover import CoverDevice, ENTITY_ID_FORMAT
from homeassistant.components.tahoma import (
@ -14,6 +15,8 @@ DEPENDENCIES = ['tahoma']
_LOGGER = logging.getLogger(__name__)
SCAN_INTERVAL = timedelta(seconds=60)
def setup_platform(hass, config, add_devices, discovery_info=None):
"""Set up Tahoma covers."""