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:
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -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": {
|
||||
|
||||
4
homeassistant/generated/dhcp.py
generated
4
homeassistant/generated/dhcp.py
generated
@@ -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",
|
||||
|
||||
10
homeassistant/generated/ssdp.py
generated
10
homeassistant/generated/ssdp.py
generated
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user