Migrate Sonos discovery to manifest (#24507)

This commit is contained in:
Paulus Schoutsen 2019-06-13 11:09:07 -07:00 committed by GitHub
parent 6d3c3ce449
commit 08591dae0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

View File

@ -48,7 +48,6 @@ SERVICE_XIAOMI_GW = 'xiaomi_gw'
CONFIG_ENTRY_HANDLERS = { CONFIG_ENTRY_HANDLERS = {
SERVICE_DAIKIN: 'daikin', SERVICE_DAIKIN: 'daikin',
SERVICE_TELLDUSLIVE: 'tellduslive', SERVICE_TELLDUSLIVE: 'tellduslive',
'sonos': 'sonos',
SERVICE_IGD: 'upnp', SERVICE_IGD: 'upnp',
} }
@ -100,6 +99,7 @@ MIGRATED_SERVICE_HANDLERS = [
'homekit', 'homekit',
'ikea_tradfri', 'ikea_tradfri',
'philips_hue', 'philips_hue',
'sonos',
SERVICE_WEMO, SERVICE_WEMO,
] ]

View File

@ -7,6 +7,11 @@
"pysonos==0.0.14" "pysonos==0.0.14"
], ],
"dependencies": [], "dependencies": [],
"ssdp": {
"st": [
"urn:schemas-upnp-org:device:ZonePlayer:1"
]
},
"codeowners": [ "codeowners": [
"@amelchio" "@amelchio"
] ]

View File

@ -18,6 +18,9 @@ SSDP = {
"st": { "st": {
"urn:schemas-denon-com:device:ACT-Denon:1": [ "urn:schemas-denon-com:device:ACT-Denon:1": [
"heos" "heos"
],
"urn:schemas-upnp-org:device:ZonePlayer:1": [
"sonos"
] ]
} }
} }