Refactor automation configuration
This commit is contained in:
parent
fe2a9bb83e
commit
68c1dd7cd4
11 changed files with 836 additions and 223 deletions
|
@ -10,8 +10,8 @@ import homeassistant.components.mqtt as mqtt
|
|||
|
||||
DEPENDENCIES = ['mqtt']
|
||||
|
||||
CONF_TOPIC = 'mqtt_topic'
|
||||
CONF_PAYLOAD = 'mqtt_payload'
|
||||
CONF_TOPIC = 'topic'
|
||||
CONF_PAYLOAD = 'payload'
|
||||
|
||||
|
||||
def trigger(hass, config, action):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue