#Error with Autmation after update
1 messages · Page 1 of 1 (latest)
from what you've posted, that automation isn't called "automation.motion_plz" and there's no mention of "calendar" or "event" in there
so the entity id for the automation is plz
when I hit the run action for my only automation that is what shows in the logs
I get two errors when I I try to run the automation manaully
Logger: homeassistant.components.automation.motion_plz
Source: components/automation/init.py:764
integration: Automation (documentation, issues)
First occurred: 4:40:14 PM (1 occurrences)
Last logged: 4:40:14 PM
Error while executing automation automation.motion_plz: 'Event Calendar' config not found
Logger: homeassistant.components.automation.motion_plz
Source: helpers/script.py:2032
integration: Automation (documentation, issues)
First occurred: 4:40:14 PM (1 occurrences)
Last logged: 4:40:14 PM
Notification Front PTZ: Error executing script. Error for call_service at pos 3: 'Event Calendar' config not found
I don't know if it's causing the problem, but this bit is wrong:
as_timestamp('states.binary_sensor.1_front_outside_ptz_motion.last_changed')
you need to remove the surrounding quotes
It won’t save without the surrounding quotes. I get this below if I remove the quotes and try to save.
Message malformed: template value should be a string for dictionary value @ data['actions'][3]['data']
It works fine for me in the template editor
In any case, the docs say that it takes a datetime object, which is what providing without the quotes, or a comparable string
The string that you provided isn't valid
That is strange. And your right about the quotes thing it just I can’t get it to save. Also. If I remove the quotes and then remove the period in front of the 1 on the sensor it saves also