mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Deprecate conf_update_interval (#20924)
* Deprecate update_interval and replace with scan_interval * Update tests * Fix Darksky tests * Fix Darksky tests correctly This reverts commit a73384a223ba8a93c682042d9351cd5a7a399183. * Provide the default for the non deprecated option * Don't override default schema for sensors
This commit is contained in:
committed by
Martin Hjelmare
parent
ad9ec2190c
commit
481439d387
@@ -147,7 +147,11 @@ CONF_TTL = 'ttl'
|
||||
CONF_TYPE = 'type'
|
||||
CONF_UNIT_OF_MEASUREMENT = 'unit_of_measurement'
|
||||
CONF_UNIT_SYSTEM = 'unit_system'
|
||||
|
||||
# Deprecated in 0.88.0, invalidated in 0.91.0, remove in 0.92.0
|
||||
CONF_UPDATE_INTERVAL = 'update_interval'
|
||||
CONF_UPDATE_INTERVAL_INVALIDATION_VERSION = '0.91.0'
|
||||
|
||||
CONF_URL = 'url'
|
||||
CONF_USERNAME = 'username'
|
||||
CONF_VALUE_TEMPLATE = 'value_template'
|
||||
|
||||
Reference in New Issue
Block a user