Refactor automation configuration

This commit is contained in:
Paulus Schoutsen 2015-09-14 22:05:40 -07:00
parent fe2a9bb83e
commit 68c1dd7cd4
11 changed files with 836 additions and 223 deletions

View file

@ -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):