|
|
@@ -1,59 +1,68 @@
|
|
|
{
|
|
|
- "title": "Tuya Local",
|
|
|
- "config": {
|
|
|
- "step": {
|
|
|
- "user": {
|
|
|
- "title": "Configure your Tuya Local device",
|
|
|
- "description": "[Follow these instructions to find your device id and local key.](https://github.com/codetheweb/tuyapi/blob/master/docs/SETUP.md)",
|
|
|
- "data": {
|
|
|
- "name": "Name",
|
|
|
- "host": "IP address or hostname",
|
|
|
- "device_id": "Device ID (uuid)",
|
|
|
- "local_key": "Local key",
|
|
|
- "type": "Device type",
|
|
|
- "climate": "Include a climate entity (unsupported on switches)",
|
|
|
- "display_light": "Include LED display as a light entity (Goldair only)",
|
|
|
- "child_lock": "Include child lock as a lock entity (unsupported on fans and switches)",
|
|
|
- "switch": "Include a switch entity (switches only)",
|
|
|
- "humidifier": "Include a humidifier entity (humidifiers and dehumidifiers only)",
|
|
|
- "fan": "Include a fan entitiy (fans, humidifiers and dehumidifiers)"
|
|
|
- }
|
|
|
- }
|
|
|
+ "title": "Tuya Local",
|
|
|
+ "config": {
|
|
|
+ "step": {
|
|
|
+ "user": {
|
|
|
+ "title": "Configure your Tuya Local device",
|
|
|
+ "description": "[Follow these instructions to find your device id and local key.](https://github.com/codetheweb/tuyapi/blob/master/docs/SETUP.md)",
|
|
|
+ "data": {
|
|
|
+ "host": "IP address or hostname",
|
|
|
+ "device_id": "Device ID (uuid)",
|
|
|
+ "local_key": "Local key",
|
|
|
+ }
|
|
|
+ }
|
|
|
+ "type": {
|
|
|
+ "title": "Choose the type of device",
|
|
|
+ "description": "Choose the type that matches your device",
|
|
|
+ "data": {
|
|
|
+ "type": "Device type",
|
|
|
+ }
|
|
|
+ }
|
|
|
+ "entities": {
|
|
|
+ "title": "Device details",
|
|
|
+ "description": "Choose a name for this device, and which entities will be enabled"
|
|
|
+ "data": {
|
|
|
+ "name": "Name",
|
|
|
+ "humidifier": "Include a humidifier entity",
|
|
|
+ "fan": "Include a fan entitiy"
|
|
|
+ "climate": "Include a climate entity",
|
|
|
+ "light": "Include a light entity",
|
|
|
+ "lock": "Include a lock entity",
|
|
|
+ "switch": "Include a switch entity",
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
"abort": {
|
|
|
- "already_configured": "A device with that ID has already been added.",
|
|
|
- "imported_connection": "Unable to connect to your device with the configured details."
|
|
|
+ "already_configured": "A device with that ID has already been added.",
|
|
|
+ "imported_connection": "Unable to connect to your device with the configured details."
|
|
|
},
|
|
|
"error": {
|
|
|
- "connection": "Unable to connect to your device with those details. It could be an intermittent issue, or they may be incorrect."
|
|
|
+ "connection": "Unable to connect to your device with those details. It could be an intermittent issue, or they may be incorrect."
|
|
|
}
|
|
|
- },
|
|
|
- "options": {
|
|
|
+},
|
|
|
+"options": {
|
|
|
"step": {
|
|
|
- "user": {
|
|
|
- "title": "Configure your Tuya Local device",
|
|
|
- "description": "[Follow these instructions to find your local key.](https://github.com/codetheweb/tuyapi/blob/master/docs/SETUP.md)",
|
|
|
- "data": {
|
|
|
- "host": "IP address or hostname",
|
|
|
- "local_key": "Local key",
|
|
|
- "type": "Device type",
|
|
|
- "climate": "Include device as a climate entity (unsupported for switches)",
|
|
|
- "display_light": "Include LED display as light entity (Goldair only)",
|
|
|
- "child_lock": "Include child lock as lock entity (unsupported on fans and switches)",
|
|
|
- "switch": "Include device as a switch entity (switches only)",
|
|
|
- "humidifier": "Include a humidifier entity (humidifiers and dehumidifiers only)",
|
|
|
- "fan": "Include a fan entitiy (fans, humidifiers and dehumidifiers)"
|
|
|
- }
|
|
|
- },
|
|
|
- "imported": {
|
|
|
- "title": "Configured via yaml"
|
|
|
- }
|
|
|
+ "user": {
|
|
|
+ "title": "Configure your Tuya Local device",
|
|
|
+ "description": "[Follow these instructions to find your local key.](https://github.com/codetheweb/tuyapi/blob/master/docs/SETUP.md)",
|
|
|
+ "data": {
|
|
|
+ "host": "IP address or hostname",
|
|
|
+ "local_key": "Local key",
|
|
|
+ "type": "Device type",
|
|
|
+ "climate": "Include device as a climate entity (unsupported for switches)",
|
|
|
+ "display_light": "Include LED display as light entity (Goldair only)",
|
|
|
+ "child_lock": "Include child lock as lock entity (unsupported on fans and switches)",
|
|
|
+ "switch": "Include device as a switch entity (switches only)",
|
|
|
+ "humidifier": "Include a humidifier entity (humidifiers and dehumidifiers only)",
|
|
|
+ "fan": "Include a fan entitiy (fans, humidifiers and dehumidifiers)"
|
|
|
+ }
|
|
|
+ },
|
|
|
},
|
|
|
"error": {
|
|
|
- "connection": "Unable to connect to your device with those details. It could be an intermittent issue, or they may be incorrect."
|
|
|
+ "connection": "Unable to connect to your device with those details. It could be an intermittent issue, or they may be incorrect."
|
|
|
},
|
|
|
"abort": {
|
|
|
- "imported": "This device is configured via your `configuration.yaml` file. To configure it via the UI, remove it from `configuration.yaml` first then add it here."
|
|
|
+ "not_supported": "No configuration matching this device was found"
|
|
|
}
|
|
|
}
|
|
|
}
|