93 lines
2.5 KiB
JSON
93 lines
2.5 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"title": "Configure Iskra Device",
|
|
"description": "Enter the IP address of your Iskra Device and select protocol.",
|
|
"data": {
|
|
"host": "[%key:common::config_flow::data::host%]"
|
|
},
|
|
"data_description": {
|
|
"host": "Hostname or IP address of your Iskra device."
|
|
}
|
|
},
|
|
"authentication": {
|
|
"title": "Configure Rest API Credentials",
|
|
"description": "Enter username and password",
|
|
"data": {
|
|
"username": "[%key:common::config_flow::data::username%]",
|
|
"password": "[%key:common::config_flow::data::password%]"
|
|
}
|
|
},
|
|
"modbus_tcp": {
|
|
"title": "Configure Modbus TCP",
|
|
"description": "Enter Modbus TCP port and device's Modbus address.",
|
|
"data": {
|
|
"port": "[%key:common::config_flow::data::port%]",
|
|
"address": "Modbus address"
|
|
},
|
|
"data_description": {
|
|
"port": "Port number can be found in the device's settings menu.",
|
|
"address": "Modbus address can be found in the device's settings menu."
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
|
|
"unknown": "[%key:common::config_flow::error::unknown%]"
|
|
},
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]"
|
|
}
|
|
},
|
|
"selector": {
|
|
"protocol": {
|
|
"options": {
|
|
"rest_api": "Rest API",
|
|
"modbus_tcp": "Modbus TCP"
|
|
}
|
|
}
|
|
},
|
|
"entity": {
|
|
"sensor": {
|
|
"total_active_power": {
|
|
"name": "Total active power"
|
|
},
|
|
"total_apparent_power": {
|
|
"name": "Total apparent power"
|
|
},
|
|
"total_reactive_power": {
|
|
"name": "Total reactive power"
|
|
},
|
|
"phase1_power": {
|
|
"name": "Phase 1 power"
|
|
},
|
|
"phase2_power": {
|
|
"name": "Phase 2 power"
|
|
},
|
|
"phase3_power": {
|
|
"name": "Phase 3 power"
|
|
},
|
|
"phase1_voltage": {
|
|
"name": "Phase 1 voltage"
|
|
},
|
|
"phase2_voltage": {
|
|
"name": "Phase 2 voltage"
|
|
},
|
|
"phase3_voltage": {
|
|
"name": "Phase 3 voltage"
|
|
},
|
|
"phase1_current": {
|
|
"name": "Phase 1 current"
|
|
},
|
|
"phase2_current": {
|
|
"name": "Phase 2 current"
|
|
},
|
|
"phase3_current": {
|
|
"name": "Phase 3 current"
|
|
}
|
|
}
|
|
}
|
|
}
|