mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Improve threshold translation strings (#69250)
This commit is contained in:
parent
88c76be5ad
commit
c8d4b2ecab
@ -1,14 +1,14 @@
|
|||||||
{
|
{
|
||||||
|
"title": "Threshold Sensor",
|
||||||
"config": {
|
"config": {
|
||||||
"step": {
|
"step": {
|
||||||
"user": {
|
"user": {
|
||||||
"title": "New Threshold Sensor",
|
"title": "Add Threshold Sensor",
|
||||||
"description": "Configure when the sensor should turn on and off.\n\nOnly lower limit configured - Turn on when the input sensor's value is less than the lower limit.\nOnly upper limit configured - Turn on when the input sensor's value is greater than the upper limit.\nBoth lower and upper limit configured - Turn on when the input sensor's value is in the range [lower limit .. upper limit].",
|
"description": "Create a binary sensor that turns on and off depending on the value of a sensor\n\nOnly lower limit configured - Turn on when the input sensor's value is less than the lower limit.\nOnly upper limit configured - Turn on when the input sensor's value is greater than the upper limit.\nBoth lower and upper limit configured - Turn on when the input sensor's value is in the range [lower limit .. upper limit].",
|
||||||
"data": {
|
"data": {
|
||||||
"entity_id": "Input sensor",
|
"entity_id": "Input sensor",
|
||||||
"hysteresis": "Hysteresis",
|
"hysteresis": "Hysteresis",
|
||||||
"lower": "Lower limit",
|
"lower": "Lower limit",
|
||||||
"mode": "Threshold mode",
|
|
||||||
"name": "Name",
|
"name": "Name",
|
||||||
"upper": "Upper limit"
|
"upper": "Upper limit"
|
||||||
}
|
}
|
||||||
@ -21,12 +21,11 @@
|
|||||||
"options": {
|
"options": {
|
||||||
"step": {
|
"step": {
|
||||||
"init": {
|
"init": {
|
||||||
"description": "[%key:component::threshold::config::step::user::description%]",
|
"description": "Only lower limit configured - Turn on when the input sensor's value is less than the lower limit.\nOnly upper limit configured - Turn on when the input sensor's value is greater than the upper limit.\nBoth lower and upper limit configured - Turn on when the input sensor's value is in the range [lower limit .. upper limit].",
|
||||||
"data": {
|
"data": {
|
||||||
"entity_id": "[%key:component::threshold::config::step::user::data::entity_id%]",
|
"entity_id": "[%key:component::threshold::config::step::user::data::entity_id%]",
|
||||||
"hysteresis": "[%key:component::threshold::config::step::user::data::hysteresis%]",
|
"hysteresis": "[%key:component::threshold::config::step::user::data::hysteresis%]",
|
||||||
"lower": "[%key:component::threshold::config::step::user::data::lower%]",
|
"lower": "[%key:component::threshold::config::step::user::data::lower%]",
|
||||||
"mode": "[%key:component::threshold::config::step::user::data::mode%]",
|
|
||||||
"name": "[%key:component::threshold::config::step::user::data::name%]",
|
"name": "[%key:component::threshold::config::step::user::data::name%]",
|
||||||
"upper": "[%key:component::threshold::config::step::user::data::upper%]"
|
"upper": "[%key:component::threshold::config::step::user::data::upper%]"
|
||||||
}
|
}
|
||||||
|
@ -9,12 +9,11 @@
|
|||||||
"entity_id": "Input sensor",
|
"entity_id": "Input sensor",
|
||||||
"hysteresis": "Hysteresis",
|
"hysteresis": "Hysteresis",
|
||||||
"lower": "Lower limit",
|
"lower": "Lower limit",
|
||||||
"mode": "Threshold mode",
|
|
||||||
"name": "Name",
|
"name": "Name",
|
||||||
"upper": "Upper limit"
|
"upper": "Upper limit"
|
||||||
},
|
},
|
||||||
"description": "Configure when the sensor should turn on and off.\n\nOnly lower limit configured - Turn on when the input sensor's value is less than the lower limit.\nOnly upper limit configured - Turn on when the input sensor's value is greater than the upper limit.\nBoth lower and upper limit configured - Turn on when the input sensor's value is in the range [lower limit .. upper limit].",
|
"description": "Create a binary sensor that turns on and off depending on the value of a sensor\n\nOnly lower limit configured - Turn on when the input sensor's value is less than the lower limit.\nOnly upper limit configured - Turn on when the input sensor's value is greater than the upper limit.\nBoth lower and upper limit configured - Turn on when the input sensor's value is in the range [lower limit .. upper limit].",
|
||||||
"title": "New Threshold Sensor"
|
"title": "Add Threshold Sensor"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -28,12 +27,12 @@
|
|||||||
"entity_id": "Input sensor",
|
"entity_id": "Input sensor",
|
||||||
"hysteresis": "Hysteresis",
|
"hysteresis": "Hysteresis",
|
||||||
"lower": "Lower limit",
|
"lower": "Lower limit",
|
||||||
"mode": "Threshold mode",
|
|
||||||
"name": "Name",
|
"name": "Name",
|
||||||
"upper": "Upper limit"
|
"upper": "Upper limit"
|
||||||
},
|
},
|
||||||
"description": "Configure when the sensor should turn on and off.\n\nOnly lower limit configured - Turn on when the input sensor's value is less than the lower limit.\nOnly upper limit configured - Turn on when the input sensor's value is greater than the upper limit.\nBoth lower and upper limit configured - Turn on when the input sensor's value is in the range [lower limit .. upper limit]."
|
"description": "Only lower limit configured - Turn on when the input sensor's value is less than the lower limit.\nOnly upper limit configured - Turn on when the input sensor's value is greater than the upper limit.\nBoth lower and upper limit configured - Turn on when the input sensor's value is in the range [lower limit .. upper limit]."
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"title": "Threshold Sensor"
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user