fmartinou / tydom2mqtt

Deltadore Tydom to MQTT Bridge
https://fmartinou.github.io/tydom2mqtt/
MIT License
86 stars 49 forks source link

Unable to switch alarm state using Home Assistant and new version of tydom2mqtt #89

Closed birse29 closed 1 year ago

birse29 commented 1 year ago

Hello,

I am no longer able to switch alarm state using home assistant and I found these messages in logs:

Template variable warning: 'list object' has no attribute 'security_level' when rendering '{{ value_json.security_level }}'

Received unexpected payload: [{"security_level": "armed_away"}] Received unexpected payload: [{"security_level": "armed_night"}] Received unexpected payload: [{"security_level": "disarmed"}]

NB: If I switch state in the Somfy application, the alarm state is updated in Home Assistant