I have GMPC server and GMPC player installed on my viewing station NUC machine,
The HA is installed on my main server, not the viewing station. The GMPC server’s job is to talk to HA in LAN.
On older HA version the above code would trigger doorbell.mp3 on the GMPC player.
But now it wont play at all. I’m getting this error :
Error: In ‘template’ condition: UndefinedError: ‘dict object’ has no attribute ‘State’
When trying to execute this part :
condition: template
value_template: ‘{{ trigger.event.data.Data.State | int in [1, 2] }}’
Are you sure your HA has re-read the new configuration (e.g. through restarting it)? Because the code now does to want to read an attribute named “State”. Now it wants to read the value of the key “State” in the dict trigger.event.data.Data.