Bugfix default values to timedelta (#5193)

* Bugfix default values to timedelta

* fix unittests
This commit is contained in:
Pascal Vizeli 2017-01-06 00:16:12 +01:00 committed by GitHub
parent c959637ebe
commit 1719d88602
20 changed files with 44 additions and 36 deletions

View file

@ -27,7 +27,7 @@ DEFAULT_NAME = 'Alarm'
DEFAULT_PORT = '5007'
DEFAULT_SSL = False
SCAN_INTERVAL = 1
SCAN_INTERVAL = datetime.timedelta(seconds=1)
ZONE_TYPES_SCHEMA = vol.Schema({
cv.positive_int: vol.In(SENSOR_CLASSES),