170 lines
9.1 KiB
JSON
170 lines
9.1 KiB
JSON
{
|
|
"config": {
|
|
"abort": {
|
|
"already_configured": "Device has already been configured.",
|
|
"device_updated": "Device configuration has been updated!"
|
|
},
|
|
"error": {
|
|
"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.",
|
|
"entity_already_configured": "Entity with this ID has already been configured.",
|
|
"address_in_use": "Address used for discovery is already in use. Make sure no other application is using it (TCP port 6668).",
|
|
"discovery_failed": "Something failed when discovering devices. See log for details.",
|
|
"empty_dps": "Connection to device succeeded but no datapoints found, please try again. Create a new issue and include debug logs if problem persists."
|
|
},
|
|
"step": {
|
|
"user": {
|
|
"title": "Device Discovery",
|
|
"description": "Pick one of the automatically discovered devices or `...` to manually to add a device.",
|
|
"data": {
|
|
"discovered_device": "Discovered Device"
|
|
}
|
|
},
|
|
"basic_info": {
|
|
"title": "Add Tuya device",
|
|
"description": "Fill in the basic device details. 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": {
|
|
"friendly_name": "Name",
|
|
"host": "Host",
|
|
"device_id": "Device ID",
|
|
"local_key": "Local key",
|
|
"protocol_version": "Protocol Version"
|
|
}
|
|
},
|
|
"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}`. All settings except for `ID` can be changed from the Options page later.",
|
|
"data": {
|
|
"id": "ID",
|
|
"friendly_name": "Friendly name",
|
|
"current": "Current",
|
|
"current_consumption": "Current Consumption",
|
|
"voltage": "Voltage",
|
|
"commands_set": "Open_Close_Stop Commands Set",
|
|
"positioning_mode": "Positioning mode",
|
|
"current_position_dp": "Current Position (for *position* mode only)",
|
|
"set_position_dp": "Set Position (for *position* mode only)",
|
|
"position_inverted": "Invert 0-100 position (for *position* mode only)",
|
|
"span_time": "Full opening time, in secs. (for *timed* mode only)",
|
|
"unit_of_measurement": "Unit of Measurement",
|
|
"device_class": "Device Class",
|
|
"scaling": "Scaling Factor",
|
|
"state_on": "On Value",
|
|
"state_off": "Off Value",
|
|
"powergo_dp": "Power DP (Usually 25 or 2)",
|
|
"idle_status_value": "Idle Status (comma-separated)",
|
|
"returning_status_value": "Returning Status",
|
|
"docked_status_value": "Docked Status (comma-separated)",
|
|
"battery_dp": "Battery status DP (Usually 14)",
|
|
"mode_dp": "Mode DP (Usually 27)",
|
|
"modes": "Modes list",
|
|
"return_mode": "Return home mode",
|
|
"fan_speed_dp": "Fan speeds DP (Usually 30)",
|
|
"fan_speeds": "Fan speeds list (comma-separated)",
|
|
"clean_time_dp": "Clean Time DP (Usually 33)",
|
|
"clean_area_dp": "Clean Area DP (Usually 32)",
|
|
"locate_dp": "Locate DP (Usually 31)",
|
|
"paused_state": "Pause state (pause, paused, etc)",
|
|
"stop_status": "Stop status",
|
|
"brightness": "Brightness (only for white color)",
|
|
"brightness_lower": "Brightness Lower Value",
|
|
"brightness_upper": "Brightness Upper Value",
|
|
"color_temp": "Color Temperature",
|
|
"color": "Color",
|
|
"color_mode": "Color Mode",
|
|
"color_temp_min_kelvin": "Minimum Color Temperature in K",
|
|
"color_temp_max_kelvin": "Maximum Color Temperature in K",
|
|
"music_mode": "Music mode available",
|
|
"scene": "Scene",
|
|
"fan_speed_control": "Fan Speed Control",
|
|
"fan_oscillating_control": "Fan Oscillating Control",
|
|
"fan_speed_low": "Fan Low Speed Setting",
|
|
"fan_speed_medium": "Fan Medium Speed Setting",
|
|
"fan_speed_high": "Fan High Speed Setting"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"title": "Configure Tuya Device",
|
|
"description": "Basic configuration for device id `{device_id}`.",
|
|
"data": {
|
|
"friendly_name": "Friendly Name",
|
|
"host": "Host",
|
|
"local_key": "Local key",
|
|
"protocol_version": "Protocol Version",
|
|
"entities": "Entities (uncheck an entity to remove it)"
|
|
}
|
|
},
|
|
"entity": {
|
|
"title": "Entity Configuration",
|
|
"description": "Editing entity with DPS `{id}` and platform `{platform}`.",
|
|
"data": {
|
|
"id": "ID",
|
|
"friendly_name": "Friendly name",
|
|
"current": "Current",
|
|
"current_consumption": "Current Consumption",
|
|
"voltage": "Voltage",
|
|
"commands_set": "Open_Close_Stop Commands Set",
|
|
"positioning_mode": "Positioning mode",
|
|
"current_position_dp": "Current Position (for *position* mode only)",
|
|
"set_position_dp": "Set Position (for *position* mode only)",
|
|
"position_inverted": "Invert 0-100 position (for *position* mode only)",
|
|
"span_time": "Full opening time, in secs. (for *timed* mode only)",
|
|
"unit_of_measurement": "Unit of Measurement",
|
|
"device_class": "Device Class",
|
|
"scaling": "Scaling Factor",
|
|
"state_on": "On Value",
|
|
"state_off": "Off Value",
|
|
"powergo_dp": "Power DP (Usually 25 or 2)",
|
|
"idle_status_value": "Idle Status (comma-separated)",
|
|
"returning_status_value": "Returning Status",
|
|
"docked_status_value": "Docked Status (comma-separated)",
|
|
"battery_dp": "Battery status DP (Usually 14)",
|
|
"mode_dp": "Mode DP (Usually 27)",
|
|
"modes": "Modes list",
|
|
"return_mode": "Return home mode",
|
|
"fan_speed_dp": "Fan speeds DP (Usually 30)",
|
|
"fan_speeds": "Fan speeds list (comma-separated)",
|
|
"clean_time_dp": "Clean Time DP (Usually 33)",
|
|
"clean_area_dp": "Clean Area DP (Usually 32)",
|
|
"locate_dp": "Locate DP (Usually 31)",
|
|
"paused_state": "Pause state (pause, paused, etc)",
|
|
"stop_status": "Stop status",
|
|
"brightness": "Brightness (only for white color)",
|
|
"brightness_lower": "Brightness Lower Value",
|
|
"brightness_upper": "Brightness Upper Value",
|
|
"color_temp": "Color Temperature",
|
|
"color": "Color",
|
|
"color_mode": "Color Mode",
|
|
"color_temp_min_kelvin": "Minimum Color Temperature in K",
|
|
"color_temp_max_kelvin": "Maximum Color Temperature in K",
|
|
"music_mode": "Music mode available",
|
|
"scene": "Scene",
|
|
"fan_speed_control": "Fan Speed Control",
|
|
"fan_oscillating_control": "Fan Oscillating Control",
|
|
"fan_speed_low": "Fan Low Speed Setting",
|
|
"fan_speed_medium": "Fan Medium Speed Setting",
|
|
"fan_speed_high": "Fan High Speed Setting"
|
|
}
|
|
},
|
|
"yaml_import": {
|
|
"title": "Not Supported",
|
|
"description": "Options cannot be edited when configured via YAML."
|
|
}
|
|
}
|
|
},
|
|
"title": "LocalTuya"
|
|
}
|