1
0
mirror of https://github.com/home-assistant/core.git synced 2025-07-28 23:57:06 +00:00

11 Commits

Author SHA1 Message Date
Joost Lekkerkerker
ee66f6ec8c
Use is in enum comparison in config flow tests P-T () 2024-04-02 11:21:50 -10:00
Marc Mueller
7d6251ca08
Add empty line after module docstring [tests q-s] () 2024-03-08 14:47:22 +01:00
epenet
71b86e9f97
Fix lingering timer in sabnzbd () 2023-05-04 12:19:40 +02:00
epenet
ba85fdcd61
Add type hints to integration tests (q-s) () 2023-02-08 08:12:54 -08:00
epenet
59ca7780fa
Add typing to tests with single hass argument () 2023-02-07 15:01:16 +01:00
Shai Ungar
f61d605d6d
Remove redundant CONF_PATH from sabnzbd config flow ()
remove redundant CONF_PATH from sabnzbd config flow
2023-01-06 01:53:30 +02:00
Franck Nijhof
a6244eea28
Search/replace RESULT_TYPE_* by FlowResultType enum () 2022-07-07 21:28:18 +02:00
Franck Nijhof
7cd68381f1
Search/replace RESULT_TYPE_* by FlowResultType enum () 2022-07-07 19:57:36 +03:00
Shai Ungar
f50681e3d3
Migrate sabnzbd sensors unique ids ()
* Migrate sensors unique ids

1. migrate sensors to have unique id constructed also from entry_id
2. add migration flow in init
3. bump config flow to version 2
4. add tests for migration

* move migrate to async_setup_entry

* 1. Use the entity registry api in tests
2. Set up the config entry and not use integration directly
3. remove patch for entity registry

* fix too many lines

* Update tests/components/sabnzbd/test_init.py

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

* Update tests/components/sabnzbd/test_init.py

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

* Update tests/components/sabnzbd/test_init.py

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

* Update tests/components/sabnzbd/test_init.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-09 09:27:23 +02:00
Shai Ungar
8883f5482b
Sabnzbd config flow improvments ()
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-28 22:25:17 +02:00
Shai Ungar
3f5027834b
Sabnzbd config flow ()
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-04-26 23:09:10 -07:00