sopelj / hass-ember-mug-component

Ember Mug Integration for Home Assistant
MIT License
112 stars 4 forks source link

set unavailable when bluetooth connection fails #16

Closed winstona closed 1 year ago

winstona commented 1 year ago

It seems if bluetooth gets disconnected (or fails for another reason), a stale state shows - this should trigger to instead show the mug as "unavailable" in HA

sopelj commented 1 year ago

Oh good thinking. I thought it wouldn't actually change the attribute given the UpdateFailed exception, but worth a try.

sopelj commented 1 year ago

I added this to 0.4.1 beta 2