Skip to content

v0.4.6

Choose a tag to compare

@bareli bareli released this 25 Apr 15:29

Subscribe to heater state changes via WS trigger

  • Panel registers a subscribe_trigger WebSocket subscription on the configured heater entity. When the entity changes state, HA pushes a trigger message and the panel calls _refresh() 150 ms later.
  • Doesn't depend on set hass() semantics or panel_custom reactive updates which proved unreliable.
  • Fixes the case where the heater is toggled externally (custom button, another automation) and the panel UI continued to show "STOP HEATING" until the next 5 s poll.

After upgrading: restart Home Assistant, then hard-refresh the browser (Ctrl+Shift+R / Cmd+Shift+R) so the new panel.js is fetched.