Exploring MQTT Configuration in Home Assistant 2022.3

Hi everyone! I’m diving into the world of MQTT configurations in Home Assistant and wanted to share my journey and seek some advice. I’ve been successfully using MQTT to control the horizontal vane of my Mitsubishi heat pump, but after upgrading to Home Assistant 2022.3, I’ve encountered some deprecation warnings. These warnings mention the ‘send_if_off’ and ‘hold_modes’ options, which I understand are no longer supported. I’m a bit puzzled about how to update my configuration to align with the new requirements without losing functionality.

Here’s the current setup I’m using in my configuration.yaml file:
yaml
select:

  • platform: mqtt
    unique_id: hpwvc
    command_topic: mitsubishi2mqtt/heatpump/wideVane/set
    state_topic: mitsubishi2mqtt/heatpump/state
    name: “Heatpump Horizontal Vane Control”
    options:
    • “<<”
    • “<”
    • “|”
    • “>”
    • “>>”
    • “SWING”
      value_template: ‘{{ value_json.wideVane }}’

I’ve reviewed the release notes for Home Assistant 2022.3 and see that there are breaking changes related to MQTT, but I’m not entirely sure how to adapt my configuration. I know that other heat pump controls are handled by the climate object, but it doesn’t support the horizontal vane, so I need to keep this MQTT setup working.

I’ve also noticed that my sensor configuration for monitoring the compressor frequency is still functioning without issues. This makes me hopeful that with some adjustments, the select configuration can be updated to work seamlessly with the new MQTT changes.

Has anyone else encountered similar deprecation warnings and found a solution? Any guidance or examples of updated MQTT configurations would be greatly appreciated! I’m excited to get this working and continue refining my smart home setup.