muart-group / esphome

ESPHome fork for development of the mitsubishi_uart component. Check out the documentation for more info:
https://muart-group.github.io/
5 stars 0 forks source link

Confirm component is "unavailable" in ESPHome and HA when not connected to heatpump #36

Open Sammy1Am opened 1 month ago

Sammy1Am commented 1 month ago

Until we receive an 0x7a packet showing the heatpump connected, we should report that our component is "unavailable". I think this already happens in HA, but need to confirm that is the case. Additionally we need to confirm that within ESPHome the "unavailable" state is accessible by e.g. lambdas.

As a bonus, we should maybe timeout back to "unavailable" if we haven't received any packets in a certain amount of time.

nagyrobi commented 1 month ago

Cannot timeout back to unavailable afaik because of https://github.com/esphome/feature-requests/issues/1568 An optional binary sensor to show this information would be useful.