hass-unfoldedcircle icon indicating copy to clipboard operation
hass-unfoldedcircle copied to clipboard

Unified intregration updated

Open albaintor opened this issue 7 months ago • 0 comments

Several modifications here :

  • Handle of new event types from the HA driver : unfoldedcircle/event/configure/(un)subscribe in order to send the new entities configured from HA side to the HA driver and update the remote
  • Handle of unfoldedcircle/event/entities/(un)subscribe in order to send the specific events that concern only the submitted entities
  • Rework of the setup flow to integrate the selection of entities, as well as the config flow after setup to modify the list of subscribed entities.
  • Rework of the websocket interface initially loaded on the coordinator but problematic : no coordinator exist if no remote is configured, multiple coordinators so duplicate subscriptions if multiple remotes configured. Websocket is now instantiated as singleton from multiple places : from coordinator, from config flow and especially during zeroconf config flow which is useful to get an instance BEFORE the user starts the config flow and get events then.
  • Some updates to support webconfigurator, and update of the regex for Remote 3 (TBC)
  • Other modifications I don't remember :-)

albaintor avatar Jul 18 '24 10:07 albaintor