core/homeassistant
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 Address late review on auth (#108852) 2024-01-25 18:15:35 +01:00
backports
brands
components Add configflow to Proximity integration (#103894) 2024-01-31 12:47:23 +01:00
generated Add configflow to Proximity integration (#103894) 2024-01-31 12:47:23 +01:00
helpers Improve invalid error messages in the config flows (#108075) 2024-01-30 12:24:19 +01:00
scripts Update colorlog to 6.8.2 (#109072) 2024-01-29 23:24:17 +01:00
util Add DurationConverter (#108865) 2024-01-30 23:08:12 +01:00
__init__.py
__main__.py
block_async_io.py
bootstrap.py Move core fundamental components into bootstrap (#105560) 2024-01-22 20:09:48 +01:00
config.py Remove unused TypeVar from config.py (#108495) 2024-01-20 14:39:12 -05:00
config_entries.py Small speed up to listing config entries in the websocket api (#108892) 2024-01-25 20:20:19 -10:00
const.py Flow rate unit conversions and device class (#106077) 2024-01-30 15:01:08 +01:00
core.py Refactor service enumeration methods to better match existing use cases (#108671) 2024-01-22 14:21:17 -10:00
data_entry_flow.py Improve invalid error messages in the config flows (#108075) 2024-01-30 12:24:19 +01:00
exceptions.py
loader.py
package_constraints.txt Intents package combines sentences/responses per language (#109079) 2024-01-30 12:38:29 +01:00
requirements.py
runner.py
setup.py
strings.json