Hey Dujith,
I did everything you said and installed the automation. When I do “RUN ACTIONS” it works fine.
But the schedule doesn’t work. it’s not giving me the push notifications.
And it comes back with a pretty big trace.
Trace log
{
“trace”: {
“last_step”: “condition/0/entity_id/0”,
“run_id”: “579c89c568d57d912d0a1c3031374071”,
“state”: “stopped”,
“script_execution”: “failed_conditions”,
“timestamp”: {
“start”: “2022-02-01T19:10:00.001960+00:00”,
“finish”: “2022-02-01T19:10:00.002341+00:00”
},
“domain”: “automation”,
“item_id”: “1643644232218”,
“trigger”: “time”,
“trace”: {
“trigger/0”: [
{
“path”: “trigger/0”,
“timestamp”: “2022-02-01T19:10:00.002128+00:00”,
“changed_variables”: {
“this”: {
“entity_id”: “automation.afvalbeheer_gft_morgen”,
“state”: “on”,
“attributes”: {
“last_triggered”: “2022-02-01T18:45:08.473095+00:00”,
“mode”: “single”,
“current”: 0,
“id”: “1643644232218”,
“friendly_name”: “Afvalbeheer - GFT (morgen)”
},
“last_changed”: “2022-02-01T19:05:52.718484+00:00”,
“last_updated”: “2022-02-01T19:05:52.718484+00:00”,
“context”: {
“id”: “e63419d040133f9593e365ae7eaee2fc”,
“parent_id”: null,
“user_id”: null
}
},
“trigger”: {
“id”: “0”,
“idx”: “0”,
“platform”: “time”,
“now”: “2022-02-01T20:10:00.001209+01:00”,
“description”: “time”,
“entity_id”: null
}
}
}
],
“condition/0”: [
{
“path”: “condition/0”,
“timestamp”: “2022-02-01T19:10:00.002210+00:00”,
“result”: {
“result”: false
}
}
],
“condition/0/entity_id/0”: [
{
“path”: “condition/0/entity_id/0”,
“timestamp”: “2022-02-01T19:10:00.002251+00:00”,
“result”: {
“result”: false,
“state”: 1,
“wanted_state”: “1”
}
}
]
},
“config”: {
“id”: “1643644232218”,
“alias”: “Afvalbeheer - GFT (morgen)”,
“description”: “”,
“trigger”: [
{
“platform”: “time”,
“at”: “20:10:00”
}
],
“condition”: [
{
“condition”: “state”,
“entity_id”: “sensor.purmerend_gft”,
“state”: “1”,
“attribute”: “Days_until”
}
],
“action”: [
{
“service”: “notify.notify_mobiles”,
“data”: {
“message”: “GFT bak morgen aan straat”,
“title”: “GFT bak morgen”
}
}
],
“mode”: “single”
},
“blueprint_inputs”: null,
“context”: {
“id”: “45fc7962812b74305dcd6f973636ec0f”,
“parent_id”: null,
“user_id”: null
}
},
“logbookEntries”: []
}
Hope you can help me out on this one, as I can’t seem to find the problem as the state looks correct for me.