core/homeassistant/components/nice_go
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
..
__init__.py Nice G.O. code quality improvements (#124319) 2024-09-06 18:22:59 +02:00
config_flow.py
const.py
coordinator.py Nice G.O. code quality improvements (#124319) 2024-09-06 18:22:59 +02:00
cover.py
diagnostics.py
entity.py
event.py Nice G.O. code quality improvements (#124319) 2024-09-06 18:22:59 +02:00
icons.json
light.py
manifest.json Nice G.O. code quality improvements (#124319) 2024-09-06 18:22:59 +02:00
strings.json
switch.py