Bugfix default values to timedelta (#5193)
* Bugfix default values to timedelta * fix unittests
This commit is contained in:
parent
c959637ebe
commit
1719d88602
20 changed files with 44 additions and 36 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue