mirror of
https://github.com/home-assistant/core.git
synced 2025-09-01 10:51:47 +02:00
Fix strings
This commit is contained in:
@@ -14,23 +14,39 @@
|
|||||||
"user": {
|
"user": {
|
||||||
"data": {
|
"data": {
|
||||||
"db_url": "Database URL",
|
"db_url": "Database URL",
|
||||||
"name": "[%key:common::config_flow::data::name%]",
|
"name": "[%key:common::config_flow::data::name%]"
|
||||||
"query": "Select query",
|
|
||||||
"column": "Column",
|
|
||||||
"unit_of_measurement": "Unit of measurement",
|
|
||||||
"value_template": "Value template",
|
|
||||||
"device_class": "Device class",
|
|
||||||
"state_class": "State class"
|
|
||||||
},
|
},
|
||||||
"data_description": {
|
"data_description": {
|
||||||
"db_url": "Leave empty to use Home Assistant Recorder database",
|
"db_url": "Leave empty to use Home Assistant Recorder database",
|
||||||
"name": "Name that will be used for config entry and also the sensor",
|
"name": "Name that will be used for config entry and also the sensor"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"data": {
|
||||||
|
"query": "Select query",
|
||||||
|
"column": "Column"
|
||||||
|
},
|
||||||
|
"data_description": {
|
||||||
"query": "Query to run, needs to start with 'SELECT'",
|
"query": "Query to run, needs to start with 'SELECT'",
|
||||||
"column": "Column for returned query to present as state",
|
"column": "Column for returned query to present as state"
|
||||||
"unit_of_measurement": "The unit of measurement for the sensor (optional)",
|
},
|
||||||
"value_template": "Template to extract a value from the payload (optional)",
|
"sections": {
|
||||||
"device_class": "The type/class of the sensor to set the icon in the frontend",
|
"advanced_options": {
|
||||||
"state_class": "The state class of the sensor"
|
"name": "Advanced options",
|
||||||
|
"description": "Provide additional configuration to the sensor",
|
||||||
|
"data": {
|
||||||
|
"unit_of_measurement": "Unit of measurement",
|
||||||
|
"value_template": "Value template",
|
||||||
|
"device_class": "Device class",
|
||||||
|
"state_class": "State class"
|
||||||
|
},
|
||||||
|
"data_description": {
|
||||||
|
"unit_of_measurement": "The unit of measurement for the sensor (optional)",
|
||||||
|
"value_template": "Template to extract a value from the payload (optional)",
|
||||||
|
"device_class": "The type/class of the sensor to set the icon in the frontend",
|
||||||
|
"state_class": "The state class of the sensor"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -39,24 +55,30 @@
|
|||||||
"step": {
|
"step": {
|
||||||
"init": {
|
"init": {
|
||||||
"data": {
|
"data": {
|
||||||
"db_url": "[%key:component::sql::config::step::user::data::db_url%]",
|
"query": "[%key:component::sql::config::step::options::data::query%]",
|
||||||
"name": "[%key:common::config_flow::data::name%]",
|
"column": "[%key:component::sql::config::step::options::data::column%]"
|
||||||
"query": "[%key:component::sql::config::step::user::data::query%]",
|
|
||||||
"column": "[%key:component::sql::config::step::user::data::column%]",
|
|
||||||
"unit_of_measurement": "[%key:component::sql::config::step::user::data::unit_of_measurement%]",
|
|
||||||
"value_template": "[%key:component::sql::config::step::user::data::value_template%]",
|
|
||||||
"device_class": "[%key:component::sql::config::step::user::data::device_class%]",
|
|
||||||
"state_class": "[%key:component::sql::config::step::user::data::state_class%]"
|
|
||||||
},
|
},
|
||||||
"data_description": {
|
"data_description": {
|
||||||
"db_url": "[%key:component::sql::config::step::user::data_description::db_url%]",
|
"query": "[%key:component::sql::config::step::options::data_description::query%]",
|
||||||
"name": "[%key:component::sql::config::step::user::data_description::name%]",
|
"column": "[%key:component::sql::config::step::options::data_description::column%]"
|
||||||
"query": "[%key:component::sql::config::step::user::data_description::query%]",
|
},
|
||||||
"column": "[%key:component::sql::config::step::user::data_description::column%]",
|
"sections": {
|
||||||
"unit_of_measurement": "[%key:component::sql::config::step::user::data_description::unit_of_measurement%]",
|
"advanced_options": {
|
||||||
"value_template": "[%key:component::sql::config::step::user::data_description::value_template%]",
|
"name": "[%key:component::sql::config::step::options::sections::advanced_options::name%]",
|
||||||
"device_class": "[%key:component::sql::config::step::user::data_description::device_class%]",
|
"description": "[%key:component::sql::config::step::options::sections::advanced_options::name%]",
|
||||||
"state_class": "[%key:component::sql::config::step::user::data_description::state_class%]"
|
"data": {
|
||||||
|
"unit_of_measurement": "[%key:component::sql::config::step::options::sections::advanced_options::data::unit_of_measurement%]",
|
||||||
|
"value_template": "[%key:component::sql::config::step::options::sections::advanced_options::data::value_template%]",
|
||||||
|
"device_class": "[%key:component::sql::config::step::options::sections::advanced_options::data::device_class%]",
|
||||||
|
"state_class": "[%key:component::sql::config::step::options::sections::advanced_options::data::state_class%]"
|
||||||
|
},
|
||||||
|
"data_description": {
|
||||||
|
"unit_of_measurement": "[%key:component::sql::config::step::options::sections::advanced_options::data_description::unit_of_measurement%]",
|
||||||
|
"value_template": "[%key:component::sql::config::step::options::sections::advanced_options::data_description::value_template%]",
|
||||||
|
"device_class": "[%key:component::sql::config::step::options::sections::advanced_options::data_description::device_class%]",
|
||||||
|
"state_class": "[%key:component::sql::config::step::options::sections::advanced_options::data_description::state_class%]"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user