* Index config entry discovery_keys by discovery domain
* Add new signal
* Update tests
* Update homeassistant/config_entries.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Fix imports
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
* Reinitialize zeroconf discovery flow on unignore
* Adjust tests
* Improve comments
* Fix logic for updating discovery keys
* Add tests
* Use mock_config_flow helper in new config_entries test
* Add discovery_keys attribute to ConfigEntry
* Update zeroconf rediscovery
* Change type of ConfigEntry.discovery_keys
* Update tests
* Fix DiscoveryKey.from_json_dict and add tests
* Fix test
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
* Add reauth flow to Nice G.O.
* Remove unnecessary freezer use
* Tweaks
* Remove re-raise
* Tiny typing tweak
* Remove if in test
* Remove overlaying old data
* Don't touch title once done
* 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>
* Add switch platform to Nice G.O.
* Replace cover with switch in switch.py
* Use icon translations
* Fix tests
* Use constants in test_switch.py
* Use ATTR_ENTITY_ID