* Move runtime_data deletion after unload.
Doing this before unload means we can't use, eg. the coordinator, during teardown.
* Re-order config entry on unload
* Add test
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
* Improve incomfort binary_sensor, add is_burning, is_pumping and is_tapping
* Update test snapshot
* Use helper for fault code label name
* Update tests
* Remove extra state attribute
* Make default Fault `none` to supprt localization
* Update snapshot
* Fix statistic_during_period wrongly prioritizing ST statistics over LT
* comment
* start of a test
* more testcases
* fix sts insertion range
* update from review
* remove unneeded comments
* update logic
* min/mean/max testing
* migrate to 1.1
* bump to 1.1.1
* fix newlines docstring
* cleanup entity_description fns
* strict generics
* restructure import
* tweaks to generics
* tweaks to generics
* removed exceptions
* move initialization, websocket clean shutdown
* get rid of duplicate entry addign
* bump lmcloud
* re-add calendar, auto on/off switches
* use asdict for diagnostics
* change number generator
* use name as entry title
* also migrate title
* don't migrate title
* remove generics for now
* satisfy mypy
* add s
* adapt
* migrate entry.runtime_data
* remove auto/onoff
* add issue on wrong gw firmware
* silence mypy
* remove breaks in ha version
* parametrize issue test
* Update update.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update test_config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* regen snapshots
* mapping steam level
* remove commented code
* fix typo
* coderabbitai availability tweak
* remove microsecond moving
* additonal schedule for coverage
* be more specific on date offset
* keep mappings the same
* config_entry imports sharpened
* remove unneccessary testcase, clenup date moving
* remove superfluous calendar testcase from diag
* guard against future version downgrade
* use new entry for downgrade test
* switch to lmcloud 1.1.11
* revert runtimedata
* revert runtimedata
* version to helper
* conistent Generator
* generator from typing_extensions
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Add code_format to template locks
* Replace code_format with code_format_template
* Add test case for template eval to None
* Apply suggestion to not call super()
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Add more negative tests
* Handle template render errors
* Better error message
* Add custom test lock config for code format
* Add type hints from upstream
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
* Change qBittorrent lib to qbittorrentapi
* Fix tests
* Convert qbittorrent service to new lib
* Add missing translation key
* Catch APIConnectionError in service call
* Replace type ignore by Any typing
* Remove last type: ignore
* Use lib type for torrent_filter
* Change import format
* Fix remaining Any type
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>