core/tests/components/jewish_calendar
Tsvi Mostovicz 12215c51b3
Fix Jewish calendar unique id's (#117985)
* Initial commit

* Fix updating of unique id

* Add testing to check the unique id is being updated correctly

* Reload the config entry and confirm the unique id has not been changed

* Move updating unique_id to __init__.py as suggested

* Change the config_entry variable's name back from config to config_entry

* Move the loop into the update_unique_ids method

* Move test from test_config_flow to test_init

* Try an early optimization to check if we need to update the unique ids

* Mention the correct version

* Implement suggestions

* Ensure all entities are migrated correctly

* Just to be sure keep the previous assertion as well
2024-05-30 18:27:15 +02:00
..
__init__.py Add config flow to Jewish Calendar (#84464) 2024-05-24 14:04:17 +02:00
conftest.py Move Jewish calendar constants to const file (#118180) 2024-05-26 19:23:02 +02:00
test_binary_sensor.py Change strings to const in Jewish Calendar (#118274) 2024-05-28 07:49:39 +02:00
test_config_flow.py Fix Jewish calendar unique id's (#117985) 2024-05-30 18:27:15 +02:00
test_init.py Fix Jewish calendar unique id's (#117985) 2024-05-30 18:27:15 +02:00
test_sensor.py Change strings to const in Jewish Calendar (#118274) 2024-05-28 07:49:39 +02:00