Make config flows general based on entities
This commit is contained in:
@@ -1,39 +1,43 @@
|
||||
{
|
||||
"config": {
|
||||
"abort": {
|
||||
"already_configured": "Device has already been configured.",
|
||||
"unsupported_device_type": "Unsupported device type!"
|
||||
"already_configured": "Device has already been configured."
|
||||
},
|
||||
"error": {
|
||||
"cannot_connect": "Cannot connect to device. Verify that address is correct.",
|
||||
"cannot_connect": "Cannot connect to device. Verify that address is correct and try again.",
|
||||
"invalid_auth": "Failed to authenticate with device. Verify that device id and local key are correct.",
|
||||
"unknown": "An unknown error occurred. See log for details.",
|
||||
"switch_already_configured": "Switch with this ID has already been configured."
|
||||
"entity_already_configured": "Entity with this ID has already been configured."
|
||||
},
|
||||
"step": {
|
||||
"user": {
|
||||
"title": "Add Tuya device",
|
||||
"description": "Fill in the basic details and pick device type. The name entered here will be used to identify the integration itself (as seen in the `Integrations` page). You will name each sub-device in the following steps.",
|
||||
"description": "Fill in the basic details and pick device type. The name entered here will be used to identify the integration itself (as seen in the `Integrations` page). You will add entities and give them names in the following steps.",
|
||||
"data": {
|
||||
"name": "Name",
|
||||
"host": "Host",
|
||||
"device_id": "Device ID",
|
||||
"local_key": "Local key",
|
||||
"protocol_version": "Protocol Version",
|
||||
"device_type": "Device type"
|
||||
"protocol_version": "Protocol Version"
|
||||
}
|
||||
},
|
||||
"power_outlet": {
|
||||
"title": "Add subswitch",
|
||||
"description": "You are about to add subswitch number `{number}`. If you want to add another, tick `Add another switch` before continuing.",
|
||||
"pick_entity_type": {
|
||||
"title": "Entity type selection",
|
||||
"description": "Please pick the type of entity you want to add.",
|
||||
"data": {
|
||||
"platform_to_add": "Platform",
|
||||
"no_additional_platforms": "Do not add any more entities"
|
||||
}
|
||||
},
|
||||
"add_entity": {
|
||||
"title": "Add new entity",
|
||||
"description": "Please fill out the details for an entity with type `{platform}`.",
|
||||
"data": {
|
||||
"id": "ID",
|
||||
"name": "Name",
|
||||
"friendly_name": "Friendly name",
|
||||
"current": "Current",
|
||||
"current_consumption": "Current Consumption",
|
||||
"voltage": "Voltage",
|
||||
"add_another_switch": "Add another switch"
|
||||
"voltage": "Voltage"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user