gysmo38 / mitsubishi2MQTT

Mitsubishi to MQTT with ESP8266 module
GNU Lesser General Public License v2.1
390 stars 139 forks source link

MQTT availability feature #88

Closed giuseppeg88 closed 2 years ago

giuseppeg88 commented 4 years ago

Can implement the MQTT availability feature?

From Home Assistant docs:

_availabilitytopic _The MQTT topic subscribed to receive birth and LWT messages from the MQTT device. If availability_topic is not defined, the binary sensor will always be considered available and its state will be on, off or unknown. If availabilitytopic is defined, the binary sensor will be considered as unavailable by default and the sensor’s state will be unavailable.

matejzero commented 3 years ago

This would be a really nice feature, as right now, there is no feedback weather the AC is accessible or not.

I have an AC with a bit of a poor signal sometimes and with this, I could see right away if it dropped from network.

gysmo38 commented 2 years ago

I valide a PR for that. It should work. If not open a new issue.