Mqtt "string does not match the pattern of "DEPRECATED"

My configuration.yaml indicated faults after upgrade.
I dont understand what’s wrong, same comment on all rows.

sensor:
- platform: mqtt
    state_topic: !secret sparsnas_sensor
    name: "sequence number"
    value_template: '{{ value_json.Sequence | round(0) }}'
    icon: mdi:counter

Read the very first breaking change for this release: https://www.home-assistant.io/blog/2022/06/01/release-20226/#breaking-changes

You have 3 months to make the change.

2 Likes

upps, sorry didnt see that one.