Bugfix default values to timedelta (#5193)

* Bugfix default values to timedelta

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

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ from homeassistant.const import (
from homeassistant.components import group
DOMAIN = 'switch'
SCAN_INTERVAL = 30
SCAN_INTERVAL = timedelta(seconds=30)
GROUP_NAME_ALL_SWITCHES = 'all switches'
ENTITY_ID_ALL_SWITCHES = group.ENTITY_ID_FORMAT.format('all_switches')