After I upgraded to 2022.9, I saw notification to change mqtt switch and sensor config.
I followed up documentation examples, but after upgrade MQTT sensor and
switches have stopped working
After I’ve changed back to “OLD” configuration, switches and sensors came back.
Still using 2022.9
Here is example of old config:
##############OLD_MQTT_SWITCH_CONFIG###########
switch:
- platform: mqtt
unique_id: lr_ac
name: “Lisa_Room_AC”
command_topic: “broker/ac4”
payload_on: “Y1”
payload_off: “OFF”
state_on: “ON”
state_off: “OFF”
Here is example of “NEW” config:
#NEW_MQTT_SWITCH_CONFIGURATION##################
mqtt:
switch:
- command_topic: “broker/ac4”
unique_id: lr_ac
name: “Lisa_Room_AC”
payload_on: “Y1”
payload_off: “OFF”
state_on: “ON”
state_off: “OFF”
I have found that when I use “NEW” config - MQTT messages just are not transmitted.
With “OLD” config I see messages go out with no issues.
I am running HA in Docker Containers
Any suggestions?
Thank you,
Leo