Losing connection to switches when upgrading HA

Currently running HA version 2022.11.5

When I upgrade to any newer version most of my switches goes offline and does not communicate with HA. I have 2 HA servers at diffirent locations - both have the same issue. Has been like this for about 6 months.

Any idea what could cause this? When I restore my backup and go back to version 2022.11.5 - then all my switches comes back online and works perfectly.

Was there maybe a change in the format of the yaml file?

Look at the logs.
Check the release notes for all versions between your current and your new version, especially for breaking changes.

Here is the breaking changes - It seems some mqtt older manual methods not supported anymore. I read the article but dont understand what needs to change.

Any help from your side please?

I can probably not help, but make a new post and make sure to include your yaml code, so people can see what you have. It’s hard to help when we do not know what you have. :wink:

switch:

  • platform: mqtt
    name: “Generator Start”
    state_topic: “stat/genstart/POWER”
    value_template: “{{ value_json.POWER }}”
    command_topic: “cmnd/genstart/POWER”
    payload_on: “ON”
    payload_off: “OFF”
    availability_topic: “tele/genstart/LWT”
    payload_available: “Online”
    payload_not_available: “Offline”
    qos: 1
    retain: false