I tested this on my system and it worked. Try it on yours and let me know the result.
mode_state_template: >
{% set vjson = value.replace('\x02','') | from_json %}
{{ vjson['mode'] }}
I tested this on my system and it worked. Try it on yours and let me know the result.
mode_state_template: >
{% set vjson = value.replace('\x02','') | from_json %}
{{ vjson['mode'] }}