Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion homeassistant/components/upnp/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ async def async_step_user(self, user_input: Optional[Mapping] = None):
if discovery[DISCOVERY_USN] == user_input["usn"]
]
if not matching_discoveries:
return self.async_abort(reason="no_devices_discovered")
return self.async_abort(reason="no_devices_found")

discovery = matching_discoveries[0]
await self.async_set_unique_id(
Expand Down
5 changes: 2 additions & 3 deletions homeassistant/components/upnp/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@
}
},
"abort": {
"already_configured": "UPnP/IGD is already configured",
"no_devices_discovered": "No UPnP/IGDs discovered",
"no_devices_found": "No UPnP/IGD devices found on the network.",
"already_configured": "[%key:common::config_flow::abort::already_configured_service%]",
Comment thread
SNoof85 marked this conversation as resolved.
Outdated
"no_devices_found": "[%key:common::config_flow::abort::no_devices_found%]",
"incomplete_discovery": "Incomplete discovery"
}
}
Expand Down