Add config_flow to bluesound integration (#115207)

* Add config flow to bluesound

* update init

* abort flow if connection is not possible

* add to codeowners

* update unique id

* add async_unload_entry

* add import flow

* add device_info

* add zeroconf

* fix errors

* formatting

* use bluos specific zeroconf service type

* implement requested changes

* implement requested changes

* fix test; add more tests

* use AsyncMock assert functions

* fix potential naming collision

* move setup_services back to media_player.py

* implement requested changes

* add port to zeroconf flow

* Fix comments

---------

Co-authored-by: Joostlek <joostlek@outlook.com>
This commit is contained in:
Louis Christ
2024-07-28 20:48:20 +02:00
committed by GitHub
parent dff964582b
commit f98487ef18
15 changed files with 778 additions and 72 deletions

View File

@ -651,6 +651,11 @@ ZEROCONF = {
"name": "yeelink-*",
},
],
"_musc._tcp.local.": [
{
"domain": "bluesound",
},
],
"_nanoleafapi._tcp.local.": [
{
"domain": "nanoleaf",