Logging date of Rachio watering to a sensor for eventual voice announcements.

This commit is contained in:
CCOSTAN 2017-02-16 02:47:37 +00:00
parent 4aafa0d1c8
commit 17df9c0952
2 changed files with 5 additions and 1 deletions

View File

@ -15,6 +15,6 @@
- service: mqtt.publish
data_template:
payload: "The Lawn was watered on {{states('sensor.date')}}"
payload: '{{ states("sensor.date") }}'
topic: 'ifttt/rachio/watering_time'
retain: true

View File

@ -5,3 +5,7 @@
- platform: mqtt
state_topic: "polly/lastmsg"
name: "polly_lastmsg"
- platform: mqtt
state_topic: "ifttt/rachio/watering_time"
name: "ifttt_rachio_watering_time"