start logging Rachio watering times (or at least the last one) to MQTT

This commit is contained in:
CCOSTAN
2017-02-16 02:17:10 +00:00
parent 302c910f68
commit 4aafa0d1c8

View File

@@ -8,8 +8,13 @@
event_type: rachio_water_stops event_type: rachio_water_stops
action: action:
service: logbook.log - service: logbook.log
data: data:
name: "Rachio Sprinkler:" name: "Rachio Sprinkler:"
message: "The Lawn was watered just now." message: "The Lawn was watered just now."
- service: mqtt.publish
data_template:
payload: "The Lawn was watered on {{states('sensor.date')}}"
topic: 'ifttt/rachio/watering_time'
retain: true