core/tests
Michael 30c5baf522
Add configflow to Proximity integration (#103894)
* add config flow

* fix tests

* adjust and fix tests

* fix tests

* config_zones as fixture

* add config flow tests

* use coordinator.async_config_entry_first_refresh

* use entry.entry_id for hass.data

* fix doc string

* remove unused unit_of_measurement string key

* don't store friendly_name, just use self.name

* abort on matching entiry

* break out legacy setup into seperate function

* make tracked entites required

* move _asnyc_setup_legacy to module level

* use zone name as config entry title

* add entity_used_in helper

* check entry source if imported

* create repair issue for removed tracked entities

* separate state change from registry change event handling

* migrate unique ids after tracked entity renamed

* use full words for the variable names

* use defaultdict

* add test

* remove unnecessary if not in check

* use unique_id of tracked entity

* use the entity registry entry id

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-01-31 12:47:23 +01:00
..
auth Add expiration of unused refresh tokens (#108428) 2024-01-24 13:24:22 -10:00
components Add configflow to Proximity integration (#103894) 2024-01-31 12:47:23 +01:00
fixtures Fix feedreader date comparison to allow RSS entries with identical timestamps (#104925) 2023-12-23 16:48:36 +01:00
hassfest
helpers Add default parameter to as_datetime template function/filter (#107229) 2024-01-29 18:05:44 +01:00
pylint Add pylint plugin to check if coordinator is placed in its own module (#108174) 2024-01-29 10:30:19 +01:00
resources
scripts
snapshots
test_util
testing_config Add icon translations support (#103294) 2024-01-19 16:56:56 +01:00
util Add DurationConverter (#108865) 2024-01-30 23:08:12 +01:00
__init__.py
common.py Small speed up to checking core state (#107845) 2024-01-18 08:41:32 -10:00
conftest.py Ensure bluetooth auto recovery does not run in tests (#109163) 2024-01-30 23:48:05 -05:00
ignore_uncaught_exceptions.py
patch_time.py
ruff.toml
syrupy.py
test_bootstrap.py Remove deprecated event_loop fixtures in tests (#109048) 2024-01-29 14:24:58 +01:00
test_config.py Deprecate legacy_templates (#105556) 2023-12-22 00:42:16 +01:00
test_config_entries.py Small speed up to listing config entries in the websocket api (#108892) 2024-01-25 20:20:19 -10:00
test_const.py Flow rate unit conversions and device class (#106077) 2024-01-30 15:01:08 +01:00
test_core.py Remove deprecated event_loop fixtures in tests (#109048) 2024-01-29 14:24:58 +01:00
test_data_entry_flow.py Fix FlowHandler show progress (#108586) 2024-01-21 22:40:48 +01:00
test_exceptions.py
test_loader.py Avoid keeping config dir in path (#107760) 2024-01-16 13:38:47 +01:00
test_main.py
test_requirements.py
test_runner.py
test_setup.py
test_test_fixtures.py
typing.py