3 Commits

Author SHA1 Message Date
IceBotYT
cd3059aa14
Nice G.O. code quality improvements (#124319)
* Bring Nice G.O. up to platinum

* Switch to listen in coordinator

* Tests

* Remove parallel updates from coordinator

* Unsub from events on config entry unload

* Detect WS disconnection

* Tests

* Fix tests

* Set unsub to None after unsubbing

* Wait 5 seconds before setting update error to prevent excessive errors

* Tweaks

* More tweaks

* Tweaks part 2

* Potential test for hass stopping

* Improve reconnect handling and test on Homeassistant stop event

* Move event handler to entry init

* Patch const instead of asyncio.sleep

---------

Co-authored-by: jbouwh <jan@jbsoft.nl>
2024-09-06 18:22:59 +02:00
Jan Bouwhuis
dd0c353afb
Fix nice_go integration tests (#124736) 2024-08-27 10:28:54 -10:00
IceBotYT
013b91394e
Add diagnostics to Nice G.O. (#124194) 2024-08-19 10:22:36 +02:00