I realized over the last few weeks that some notifications that I have been using for a few years arnt being pushed to discord like they used to. The ones that do work I compared to the others and they all look the same. I mean I havent touch them in forever. One of the ones that dont work anymore is my washing machine notification. Can you see anything thats wrong?
- alias: Notify Washing Machine Done
initial_state: 'on'
trigger:
platform: state
entity_id: sensor.washing_machine_current
from: 'False'
to: 'True'
for:
seconds: 30
action:
- service: notify.nvidia_shield
data:
message: 'Washing Machine Is Done'
title: Laundry Notify
- service: notify.discord
data:
message: 'The wash cycle is complete'
target: 'channel id'
2020-08-25 14:39:39 INFO (MainThread) [homeassistant.components.automation.notify_washing_machine_done] Executing Notify Washing Machine Done
2020-08-25 14:39:39 INFO (MainThread) [homeassistant.components.automation.notify_washing_machine_done] Notify Washing Machine Done: Running script
2020-08-25 14:39:39 INFO (MainThread) [homeassistant.components.automation.notify_washing_machine_done] Notify Washing Machine Done: Executing step call service
2020-08-25 14:39:39 INFO (MainThread) [homeassistant.components.automation.notify_washing_machine_done] Notify Washing Machine Done: Test condition or: False
The state of the sensor when the washing machine in NOT running is True and is indeed working properly so Im not sure why its stating false. Is that something not to worry about?
Im using a Tplink 110 plug for this. I may try a esphome flashed plug to see.