mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Rename reconfigure step in apple_tv (#112438)
This commit is contained in:
parent
7c9891fff9
commit
4bdcab7cc2
@ -157,9 +157,9 @@ class AppleTVConfigFlow(ConfigFlow, domain=DOMAIN):
|
||||
}
|
||||
self.scan_filter = self.unique_id
|
||||
self.context["identifier"] = self.unique_id
|
||||
return await self.async_step_reconfigure()
|
||||
return await self.async_step_restore_device()
|
||||
|
||||
async def async_step_reconfigure(
|
||||
async def async_step_restore_device(
|
||||
self, user_input: dict[str, str] | None = None
|
||||
) -> ConfigFlowResult:
|
||||
"""Inform user that reconfiguration is about to start."""
|
||||
@ -168,7 +168,7 @@ class AppleTVConfigFlow(ConfigFlow, domain=DOMAIN):
|
||||
self.async_pair_next_protocol, allow_exist=True
|
||||
)
|
||||
|
||||
return self.async_show_form(step_id="reconfigure")
|
||||
return self.async_show_form(step_id="restore_device")
|
||||
|
||||
async def async_step_user(
|
||||
self, user_input: dict[str, str] | None = None
|
||||
|
@ -9,7 +9,7 @@
|
||||
"device_input": "[%key:common::config_flow::data::device%]"
|
||||
}
|
||||
},
|
||||
"reconfigure": {
|
||||
"restore_device": {
|
||||
"title": "Device reconfiguration",
|
||||
"description": "Reconfigure this device to restore its functionality."
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user