diff --git a/automation/ifttt_logger.yaml b/automation/ifttt_logger.yaml index c3d8cda8..a1e15955 100755 --- a/automation/ifttt_logger.yaml +++ b/automation/ifttt_logger.yaml @@ -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 diff --git a/sensor/MQTT.yaml b/sensor/MQTT.yaml index 98268078..9d4a6940 100755 --- a/sensor/MQTT.yaml +++ b/sensor/MQTT.yaml @@ -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"