diff --git a/homeassistant/components/xbox/manifest.json b/homeassistant/components/xbox/manifest.json index 3fc2071e66b..067052f010b 100644 --- a/homeassistant/components/xbox/manifest.json +++ b/homeassistant/components/xbox/manifest.json @@ -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" + } + ] } diff --git a/homeassistant/components/xbox/strings.json b/homeassistant/components/xbox/strings.json index 5780aec398d..d3b33b14589 100644 --- a/homeassistant/components/xbox/strings.json +++ b/homeassistant/components/xbox/strings.json @@ -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": { diff --git a/homeassistant/generated/dhcp.py b/homeassistant/generated/dhcp.py index 0ae6875702c..a1bc052b50d 100644 --- a/homeassistant/generated/dhcp.py +++ b/homeassistant/generated/dhcp.py @@ -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", diff --git a/homeassistant/generated/ssdp.py b/homeassistant/generated/ssdp.py index acbb74645a3..7ab04febb75 100644 --- a/homeassistant/generated/ssdp.py +++ b/homeassistant/generated/ssdp.py @@ -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",