mirror of
https://github.com/home-assistant/core.git
synced 2026-09-25 17:04:04 -04:00
string mods
This commit is contained in:
@@ -1,56 +1,61 @@
|
||||
{
|
||||
"config": {
|
||||
"abort": {
|
||||
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]"
|
||||
"already_configured": "[%key:common::config_flow::abort::already_configured_account%]"
|
||||
},
|
||||
"error": {
|
||||
"not_enough_datapoints": "The number of datapoints needs to be more than the configured degree."
|
||||
},
|
||||
"step": {
|
||||
"user": {
|
||||
"description": "Create a compensation sensor that enhances the accuracy of a source sensors value. This is done by calculating a new state using an nth degree polynomial with the source sensors value.",
|
||||
"data": {
|
||||
"name": "[%key:common::config_flow::data::name%]",
|
||||
"entity_id": "Source entity"
|
||||
},
|
||||
"data_description": {
|
||||
"name": "Name of the compensation sensor.",
|
||||
"entity_id": "Entity to use as source."
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"description": "Refer to the documentation for further details on how to configure the compensation sensor using these options.",
|
||||
"data": {
|
||||
"attribute": "Attribute",
|
||||
"upper_limit": "Upper limit",
|
||||
"lower_limit": "Lower limit",
|
||||
"precision": "Precision",
|
||||
|
||||
"unit_of_measurement": "Unit of measurement"
|
||||
"unit_of_measurement": "Unit of measurement",
|
||||
"upper_limit": "Upper limit"
|
||||
},
|
||||
"data_description": {
|
||||
"attribute": "Attribute from the source to monitor/compensate.",
|
||||
"upper_limit": "Enables a upper limit for the sensor. The upper limit is defined by the data points highest uncompensated value.",
|
||||
"lower_limit": "Enables a lower limit for the sensor. The lower limit is defined by the data points lowest uncompensated value.",
|
||||
"lower_limit": "Enables a lower limit for the sensor. The lower limit is defined by the data point's lowest uncompensated value.",
|
||||
"precision": "Defines the precision of the calculated values, through the argument of round().",
|
||||
"unit_of_measurement": "The unit of measurement of the compensation sensor, if any."
|
||||
"unit_of_measurement": "The unit of measurement of the compensation sensor, if any.",
|
||||
"upper_limit": "Enables an upper limit for the sensor. The upper limit is defined by the data point's highest uncompensated value."
|
||||
},
|
||||
"description": "Refer to the documentation for further details on how to configure the compensation sensor using these options.",
|
||||
"sections": {
|
||||
"polynomial_config": {
|
||||
"name": "Polynomial configuration",
|
||||
"description": "Configure the polynomial used for compensation.",
|
||||
"data": {
|
||||
"data_points": "Data points",
|
||||
"degree": "Degree"
|
||||
},
|
||||
"data_description": {
|
||||
"degree": "The degree of the polynomial."
|
||||
}
|
||||
},
|
||||
"description": "Configure the polynomial used for compensation.",
|
||||
"name": "Polynomial configuration"
|
||||
}
|
||||
}
|
||||
},
|
||||
"user": {
|
||||
"data": {
|
||||
"entity_id": "Source entity",
|
||||
"name": "[%key:common::config_flow::data::name%]"
|
||||
},
|
||||
"data_description": {
|
||||
"entity_id": "Entity to use as source.",
|
||||
"name": "Name of the compensation sensor."
|
||||
},
|
||||
"description": "Create a compensation sensor that enhances the accuracy of a source sensors value. This is done by calculating a new state using an nth degree polynomial with the source sensors value."
|
||||
}
|
||||
}
|
||||
},
|
||||
"exceptions": {
|
||||
"setup_error": {
|
||||
"message": "Setup of {title} could not be completed due to {error}"
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"abort": {
|
||||
"already_configured": "[%key:common::config_flow::abort::already_configured_account%]"
|
||||
@@ -60,33 +65,33 @@
|
||||
},
|
||||
"step": {
|
||||
"init": {
|
||||
"description": "[%key:component::compensation::config::step::options::description%]",
|
||||
"data": {
|
||||
"attribute": "[%key:component::compensation::config::step::options::data::attribute%]",
|
||||
"upper_limit": "[%key:component::compensation::config::step::options::data::upper_limit%]",
|
||||
"lower_limit": "[%key:component::compensation::config::step::options::data::lower_limit%]",
|
||||
"precision": "[%key:component::compensation::config::step::options::data::precision%]",
|
||||
"unit_of_measurement": "[%key:component::compensation::config::step::options::data::unit_of_measurement%]"
|
||||
"unit_of_measurement": "[%key:component::compensation::config::step::options::data::unit_of_measurement%]",
|
||||
"upper_limit": "[%key:component::compensation::config::step::options::data::upper_limit%]"
|
||||
},
|
||||
"data_description": {
|
||||
"attribute": "[%key:component::compensation::config::step::options::data_description::attribute%]",
|
||||
"upper_limit": "[%key:component::compensation::config::step::options::data_description::upper_limit%]",
|
||||
"lower_limit": "[%key:component::compensation::config::step::options::data_description::lower_limit%]",
|
||||
"precision": "[%key:component::compensation::config::step::options::data_description::precision%]",
|
||||
"unit_of_measurement": "[%key:component::compensation::config::step::options::data_description::unit_of_measurement%]"
|
||||
"unit_of_measurement": "[%key:component::compensation::config::step::options::data_description::unit_of_measurement%]",
|
||||
"upper_limit": "[%key:component::compensation::config::step::options::data_description::upper_limit%]"
|
||||
},
|
||||
|
||||
"description": "[%key:component::compensation::config::step::options::description%]",
|
||||
"sections": {
|
||||
"polynomial_config": {
|
||||
"name": "[%key:component::compensation::config::step::options::sections::polynomial_config::name%]",
|
||||
"description": "[%key:component::compensation::config::step::options::sections::polynomial_config::description%]",
|
||||
"data": {
|
||||
"data_points": "[%key:component::compensation::config::step::options::sections::polynomial_config::data::data_points%]",
|
||||
"degree": "[%key:component::compensation::config::step::options::sections::polynomial_config::data::degree%]"
|
||||
},
|
||||
"data_description": {
|
||||
"degree": "[%key:component::compensation::config::step::options::sections::polynomial_config::data_description::degree%]"
|
||||
}
|
||||
},
|
||||
"description": "[%key:component::compensation::config::step::options::sections::polynomial_config::description%]",
|
||||
"name": "[%key:component::compensation::config::step::options::sections::polynomial_config::name%]"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -95,14 +100,9 @@
|
||||
"selector": {
|
||||
"data_points": {
|
||||
"fields": {
|
||||
"uncompensated_value": "Uncompensated value",
|
||||
"compensated_value": "Compensated value"
|
||||
"compensated_value": "Compensated value",
|
||||
"uncompensated_value": "Uncompensated value"
|
||||
}
|
||||
}
|
||||
},
|
||||
"exceptions": {
|
||||
"setup_error": {
|
||||
"message": "Setup of {title} could not be completed due to {error}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user