57 lines
2.2 KiB
JSON
57 lines
2.2 KiB
JSON
{
|
|
"config": {
|
|
"abort": {
|
|
"already_configured": "Account is already configured"
|
|
},
|
|
"error": {
|
|
"db_url_invalid": "Database URL invalid",
|
|
"query_invalid": "SQL Query invalid"
|
|
},
|
|
"step": {
|
|
"user": {
|
|
"data": {
|
|
"column": "Column",
|
|
"db_url": "Database URL",
|
|
"name": "Name",
|
|
"query": "Select Query",
|
|
"unit_of_measurement": "Unit of Measure",
|
|
"value_template": "Value Template"
|
|
},
|
|
"data_description": {
|
|
"column": "Column for returned query to present as state",
|
|
"db_url": "Database URL, leave empty to use default HA database",
|
|
"name": "Name that will be used for Config Entry and also the Sensor",
|
|
"query": "Query to run, needs to start with 'SELECT'",
|
|
"unit_of_measurement": "Unit of Measure (optional)",
|
|
"value_template": "Value Template (optional)"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"error": {
|
|
"db_url_invalid": "Database URL invalid",
|
|
"query_invalid": "SQL Query invalid"
|
|
},
|
|
"step": {
|
|
"init": {
|
|
"data": {
|
|
"column": "Column",
|
|
"db_url": "Database URL",
|
|
"name": "Name",
|
|
"query": "Select Query",
|
|
"unit_of_measurement": "Unit of Measure",
|
|
"value_template": "Value Template"
|
|
},
|
|
"data_description": {
|
|
"column": "Column for returned query to present as state",
|
|
"db_url": "Database URL, leave empty to use default HA database",
|
|
"name": "Name that will be used for Config Entry and also the Sensor",
|
|
"query": "Query to run, needs to start with 'SELECT'",
|
|
"unit_of_measurement": "Unit of Measure (optional)",
|
|
"value_template": "Value Template (optional)"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |