I am trying to write my first automation and run into a Message malformed: expected dict for dictionary value @ data[‘event_data’] error message when trying to save automation. Everything is in visual editor.
Scenario: I have a fan in a bathroom. It is controlled by a smart switch. I created a timer helper (timer.powder_room_fan_timer) to control the time the fan would run.
First automation: When Power Room Fan switch changes from off to on.
Trigger is entity: Switch (Powder Room Fan) from off to on.
Action: Timer ‘Start” on Powder Room Fan Timer. Target entity Powder Room Fan timer
Saves fine
Second automation: When timer counts down to zero
trigger: Manual event
event type: timer.finished
event data
entity_id:timer.powder_room_fan_timer
Select save
Enter Name: Timer countdown, select save
Receive error message: Message malformed: expected dict for dictionary value @ data[‘event_data’]
I was following along with a you tube video and ti appears I’ve done everything as the author described. Can anyone give me a clue what I could be doing wrong. I gather there is a key pair issue but I can’t see what it could be.
Thanks in advance
Bill