2020-01-21 05:50:41 ERROR (MainThread) [homeassistant.helpers.service] Error rendering data template: UndefinedError: 'dict object' has no attribute 'new_state'
and when I set homeassistant.core to debug logging I get this
2020-01-21 06:29:22 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=automation.heating_turn_off_when_boost_timer_is_finished, old_state=<state automation.heating_turn_off_when_boost_timer_is_finished=on; last_triggered=2020-01-21T06:20:54.025816+00:00, id=Heating: Turn Off When Boost Timer is Finished, friendly_name=Heating: Turn Off When Boost Timer is Finished @ 2020-01-21T06:23:28.240251+00:00>, new_state=<state automation.heating_turn_off_when_boost_timer_is_finished=on; last_triggered=2020-01-21T06:29:22.023017+00:00, id=Heating: Turn Off When Boost Timer is Finished, friendly_name=Heating: Turn Off When Boost Timer is Finished @ 2020-01-21T06:23:28.240251+00:00>>
is there any way I can log out the variables and properties?
Oops, sorry, my bad! I had the state_changed event on the brain since I had been helping someone else with that earlier.
You can see all the data the event contains by using the EVENTS tab of the Developer Tools page. Enter timer.finished where it says “Event to subscribe to”, then click START LISTENING. When the event fires it will list it out with all its data. Here is an example from my system: