Commit Graph

2 Commits (a720b2989aab7886af64fc2be8083857a544614e)

Author SHA1 Message Date
J. Nick Koston 37c4318d33
Fix merge conflict with master to dev in sabnzbd (CI fix) (#71605) 2022-05-09 12:58:42 -05:00
Shai Ungar f50681e3d3
Migrate sabnzbd sensors unique ids (#71455)
* 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