1
mirror of https://github.com/home-assistant/core synced 2024-07-27 18:58:57 +02:00

Don't set step title if it's integration title (#34524)

This commit is contained in:
Paulus Schoutsen 2020-04-22 06:05:39 -07:00 committed by GitHub
parent ab7bd302f6
commit e002c84eba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
24 changed files with 11 additions and 41 deletions

View File

@ -2,7 +2,6 @@
"config": {
"step": {
"user": {
"title": "Link your AdGuard Home.",
"description": "Set up your AdGuard Home instance to allow monitoring and control.",
"data": {
"host": "Host",

View File

@ -3,7 +3,6 @@
"flow_title": "Brother Printer: {model} {serial_number}",
"step": {
"user": {
"title": "Brother Printer",
"description": "Set up Brother printer integration. If you have problems with configuration go to: https://www.home-assistant.io/integrations/brother",
"data": {
"host": "Printer hostname or IP address",

View File

@ -2,7 +2,6 @@
"config": {
"step": {
"confirm": {
"title": "Google Cast",
"description": "Do you want to set up Google Cast?"
}
},

View File

@ -3,13 +3,11 @@
"flow_title": "deCONZ Zigbee gateway ({host})",
"step": {
"user": {
"title": "Select deCONZ gateway",
"data": {
"host": "Select discovered deCONZ gateway"
}
},
"manual_input": {
"title": "Configure deCONZ gateway",
"data": {
"host": "Host",
"port": "Port"

View File

@ -4,11 +4,9 @@
"step": {
"ssdp_confirm": {
"data": {},
"description": "Do you want to set up {name}?",
"title": "Connect to the DirecTV receiver"
"description": "Do you want to set up {name}?"
},
"user": {
"title": "Connect to the DirecTV receiver",
"data": { "host": "Host or IP address" }
}
},

View File

@ -3,7 +3,6 @@
"flow_title": "Elgato Key Light: {serial_number}",
"step": {
"user": {
"title": "Link your Elgato Key Light",
"description": "Set up your Elgato Key Light to integrate with Home Assistant.",
"data": { "host": "Host or IP address", "port": "Port number" }
},

View File

@ -9,13 +9,11 @@
"step": {
"user": {
"data": { "host": "Host", "port": "Port" },
"description": "Please enter connection settings of your [ESPHome](https://esphomelib.com/) node.",
"title": "ESPHome"
"description": "Please enter connection settings of your [ESPHome](https://esphomelib.com/) node."
},
"authenticate": {
"data": { "password": "Password" },
"description": "Please enter the password you set in your configuration for {name}.",
"title": "Enter Password"
"description": "Please enter the password you set in your configuration for {name}."
},
"discovery_confirm": {
"description": "Do you want to add the ESPHome node `{name}` to Home Assistant?",

View File

@ -3,20 +3,18 @@
"flow_title": "AVM FRITZ!Box: {name}",
"step": {
"user": {
"title": "AVM FRITZ!Box",
"description": "Enter your AVM FRITZ!Box information.",
"data": {
"host": "Host or IP address",
"username": "Username",
"password": "Password"
"host": "Host or IP address",
"username": "Username",
"password": "Password"
}
},
"confirm": {
"title": "AVM FRITZ!Box",
"description": "Do you want to set up {name}?",
"data": {
"username": "Username",
"password": "Password"
"username": "Username",
"password": "Password"
}
}
},

View File

@ -2,7 +2,6 @@
"config": {
"step": {
"confirm": {
"title": "Hisense AEH-W4A1",
"description": "Do you want to set up Hisense AEH-W4A1?"
}
},

View File

@ -2,7 +2,6 @@
"config": {
"step": {
"confirm": {
"title": "Home Assistant iOS",
"description": "Do you want to set up the Home Assistant iOS component?"
}
},

View File

@ -2,7 +2,6 @@
"config": {
"step": {
"confirm": {
"title": "iZone",
"description": "Do you want to set up iZone?"
}
},

View File

@ -6,7 +6,6 @@
"description": "A Konnected Alarm Panel with ID {id} has been discovered in configuration.yaml. This flow will allow you to import it into a config entry."
},
"user": {
"title": "Discover Konnected Device",
"description": "Please enter the host information for your Konnected Panel.",
"data": {
"host": "Konnected device IP address",

View File

@ -2,7 +2,6 @@
"config": {
"step": {
"confirm": {
"title": "LIFX",
"description": "Do you want to set up LIFX?"
}
},

View File

@ -2,7 +2,6 @@
"config": {
"step": {
"confirm": {
"title": "Mobile App",
"description": "Do you want to set up the Mobile App component?"
}
},

View File

@ -2,7 +2,6 @@
"config": {
"step": {
"broker": {
"title": "MQTT",
"description": "Please enter the connection information of your MQTT broker.",
"data": {
"broker": "Broker",

View File

@ -3,7 +3,6 @@
"flow_title": "Roku: {name}",
"step": {
"user": {
"title": "Roku",
"description": "Enter your Roku information.",
"data": { "host": "Host or IP address" }
},

View File

@ -3,7 +3,6 @@
"flow_title": "Samsung TV: {model}",
"step": {
"user": {
"title": "Samsung TV",
"description": "Enter your Samsung TV information. If you never connected Home Assistant before you should see a popup on your TV asking for authorization.",
"data": { "host": "Host or IP address", "name": "Name" }
},

View File

@ -2,7 +2,6 @@
"config": {
"step": {
"confirm": {
"title": "Sonos",
"description": "Do you want to set up Sonos?"
}
},

View File

@ -2,7 +2,6 @@
"config": {
"step": {
"confirm": {
"title": "TP-Link Smart Home",
"description": "Do you want to setup TP-Link smart devices?"
}
},

View File

@ -1,13 +1,11 @@
{
"config": {
"step": {
"init": { "title": "UPnP/IGD" },
"confirm": {
"title": "UPnP/IGD",
"description": "Do you want to set up UPnP/IGD?"
},
"user": {
"title": "Configuration options for the UPnP/IGD",
"title": "Configuration options",
"data": {
"enable_port_mapping": "Enable port mapping for Home Assistant",
"enable_sensors": "Add traffic sensors",

View File

@ -2,7 +2,6 @@
"config": {
"step": {
"confirm": {
"title": "Wemo",
"description": "Do you want to set up Wemo?"
}
},

View File

@ -3,7 +3,6 @@
"flow_title": "WLED: {name}",
"step": {
"user": {
"title": "Link your WLED",
"description": "Set up your WLED to integrate with Home Assistant.",
"data": { "host": "Host or IP address" }
},

View File

@ -121,7 +121,7 @@ def gen_strings_schema(config: Config, integration: Integration):
config=config,
integration=integration,
flow_title=REMOVED,
require_step_title=True,
require_step_title=False,
),
vol.Optional("options"): gen_data_entry_schema(
config=config,

View File

@ -133,10 +133,7 @@ def _custom_tasks(template, info) -> None:
title=info.name,
config={
"step": {
"confirm": {
"title": info.name,
"description": f"Do you want to set up {info.name}?",
}
"confirm": {"description": f"Do you want to set up {info.name}?"}
},
"abort": {
"single_instance_allowed": f"Only a single configuration of {info.name} is possible.",