Send_if_off deprecation alternative

Breaking change from release notes:

The send_if_off config parameter of the climate platform, which limits publishing if the current operation mode is HVAC_MODE_OFF, is now deprecated.

This will break applications that depend on this feature.

(@jbouwh - #63814) (mqtt docs)

How can I overcome this problem? I cannot read the state of my devices because Infrared is only one way communication.

@jbouwh ideas to keep my custom mqtt integration working?

The property send_if_off will be deprecated since an update will always be send and will no longer be depending an the state:
See: MQTT HVAC - Home Assistant (optimistic mode)