Fix automation deprecation warning
This commit is contained in:
1 parent
c58fb00f03
commit
0f6c9d2f75
1 file changed
+1
-1
@@ -143,7 +143,7 @@ def _process_if(hass, config, p_config, action):
|
||||
|
||||
# Deprecated since 0.19 - 5/5/2016
|
||||
if cond_type != DEFAULT_CONDITION_TYPE:
|
||||
_LOGGER.warning('Using condition_type: %s is deprecated. Please use '
|
||||
_LOGGER.warning('Using condition_type: "or" is deprecated. Please use '
|
||||
'"condition: or" instead.')
|
||||
|
||||
if_configs = p_config.get(CONF_CONDITION)
|
||||
|
||||
Reference in new issue
Block a user