mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 13:15:18 +02:00
warn->warning
This commit is contained in:
@@ -25,7 +25,7 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None):
|
||||
|
||||
for dev_name, properties in switches.items():
|
||||
if 'statecmd' in properties and CONF_VALUE_TEMPLATE not in properties:
|
||||
_LOGGER.warn("Specify a %s when using statemcd",
|
||||
_LOGGER.warning("Specify a %s when using statemcd",
|
||||
CONF_VALUE_TEMPLATE)
|
||||
continue
|
||||
devices.append(
|
||||
|
Reference in New Issue
Block a user