1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-20 02:48:57 +00:00

Add discovery support to Xbox integration (#154912)

This commit is contained in:
Manu
2025-10-21 15:29:49 +02:00
committed by GitHub
parent 84d9fa3bd7
commit d6db50fcc7
4 changed files with 34 additions and 1 deletions

View File

@@ -4,7 +4,22 @@
"codeowners": ["@hunterjm"],
"config_flow": true,
"dependencies": ["auth", "application_credentials"],
"dhcp": [
{
"hostname": "xbox*"
}
],
"documentation": "https://www.home-assistant.io/integrations/xbox",
"iot_class": "cloud_polling",
"requirements": ["xbox-webapi==2.1.0"]
"requirements": ["xbox-webapi==2.1.0"],
"ssdp": [
{
"modelName": "Xbox 360",
"manufacturer": "Microsoft Corporation"
},
{
"modelName": "Xbox One",
"manufacturer": "Microsoft Corporation"
}
]
}

View File

@@ -9,6 +9,10 @@
"data_description": {
"implementation": "[%key:common::config_flow::description::implementation%]"
}
},
"oauth_discovery": {
"description": "Home Assistant has found an Xbox device on your network. Press **Submit** to continue setting up the Xbox integration.",
"title": "Discovered Xbox device"
}
},
"abort": {

View File

@@ -1362,6 +1362,10 @@ DHCP: Final[list[dict[str, str | bool]]] = [
"domain": "wmspro",
"registered_devices": True,
},
{
"domain": "xbox",
"hostname": "xbox*",
},
{
"domain": "yale",
"hostname": "yale-connect-plus",

View File

@@ -400,6 +400,16 @@ SSDP = {
"manufacturer": "All Automacao Ltda",
},
],
"xbox": [
{
"manufacturer": "Microsoft Corporation",
"modelName": "Xbox 360",
},
{
"manufacturer": "Microsoft Corporation",
"modelName": "Xbox One",
},
],
"yamaha_musiccast": [
{
"manufacturer": "Yamaha Corporation",