mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
warn->warning
This commit is contained in:
parent
d5179b4bdc
commit
fba5becd90
@ -25,8 +25,8 @@ 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",
|
||||
CONF_VALUE_TEMPLATE)
|
||||
_LOGGER.warning("Specify a %s when using statemcd",
|
||||
CONF_VALUE_TEMPLATE)
|
||||
continue
|
||||
devices.append(
|
||||
CommandSwitch(
|
||||
|
Loading…
x
Reference in New Issue
Block a user