-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re Help re event presence_simulation_change #118 #119
Comments
I recommend you read this : https://www.home-assistant.io/docs/automation/troubleshooting/ |
Read, didnt realise you can test a trigger.
Trace Trace timeline Triggered manually at 19 March 2024 at 05:53:21 Error rendering data template: UndefinedError: 'dict object' has no attribute 'event' Debug Log 1 Error while executing automation automation.presence_simulation_event_test: Error rendering data template: UndefinedError: 'dict object' has no attribute 'event' Debug log 2 Presence Simulation Event Test: Error executing script. Error for call_service at pos 1: Error rendering data template: UndefinedError: 'dict object' has no attribute 'event' Also found this that i dont think is directly related Detected that custom integration 'presence_simulation' sets "data" directly to update a config entry. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to use async_update_entry instead at custom_components/presence_simulation/init.py, line 456: entry.data = entry.options, please create a bug report at https://github.com/slashback100/presence_simulation/issues Detected that custom integration 'presence_simulation' sets "options" directly to update a config entry. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to use async_update_entry instead at custom_components/presence_simulation/init.py, line 457: entry.options = {}, please create a bug report at https://github.com/slashback100/presence_simulation/issues |
Since you test your automation manually, the |
You advise in your readme that the event is fired, is it possible to check this actually happens. my only alternative seems to remove the integration and start from the beginning. |
Exited my house which automatically triggered my PS. |
So it works? |
Not as i was expecting, my understanding is that it should trigger when one of my lights turns on/off! It only triggered when the automation starting PS action (when i exit my house), no lights were on. Thanks |
It is fired when the simulation starts because the first thing it does is to restore the state of the entities with the states it was x days ago. |
Just to update you. |
Hmm okay I will take a closer look at it asap |
Ok I did found an issue. For lights, the event was not correctly fired. I fixed it in last commit |
Will check it out tonight. Thanks |
Responded with continuing issue trying to get the automation to work.
automation does not trigger.
Anything I can do?
The text was updated successfully, but these errors were encountered: