id: '1687454410263'
alias: whatsapp_Recycle
description: ''
trigger:
- platform: time
at: '20:00:00'
condition:
- condition: not
conditions:
- condition: state
entity_id: sensor.recycleapp_vuilnis_morgen
state: 'false'
action:
- service: whatsapp.send_message
data:
clientId: default
to: [email protected]
body:
text: >-
Ivago komt morgen langs om {{
state_attr('sensor.recycleapp_vuilnis_eerst_volgende','Upcoming_waste_types')
}} op te halen
mode: single
So when the sensor is false, I don’t want to get a message. you can see here in the status of the sensor it is false
I tried this before, but not using ’ '. So I think that was the problem. I changed the time to now, and the automation is not executed. so I think that is the solution…
thanks