core/tests/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
..
fixtures Add switch platform to Nice G.O. (#124237) 2024-08-19 21:25:11 +02:00
snapshots Fix nice_go integration tests (#124736) 2024-08-27 10:28:54 -10:00
__init__.py
conftest.py Fix nice_go integration tests (#124736) 2024-08-27 10:28:54 -10:00
test_config_flow.py
test_cover.py
test_diagnostics.py Nice G.O. code quality improvements (#124319) 2024-09-06 18:22:59 +02:00
test_event.py Nice G.O. code quality improvements (#124319) 2024-09-06 18:22:59 +02:00
test_init.py Nice G.O. code quality improvements (#124319) 2024-09-06 18:22:59 +02:00
test_light.py
test_switch.py Add switch platform to Nice G.O. (#124237) 2024-08-19 21:25:11 +02:00