* 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>