35 lines
1.1 KiB
JSON
35 lines
1.1 KiB
JSON
{
|
|
"title": "Combine the state of several sensors",
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"title": "Combine the state of several sensors",
|
|
"description": "Create a sensor that calculates a min, max, mean, median or sum from a list of input sensors.",
|
|
"data": {
|
|
"entity_ids": "Input entities",
|
|
"name": "Name",
|
|
"round_digits": "Precision",
|
|
"type": "Statistic characteristic"
|
|
},
|
|
"data_description": {
|
|
"round_digits": "Controls the number of decimal digits in the output when the statistics characteristic is mean, median or sum."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"data": {
|
|
"entity_ids": "[%key:component::min_max::config::step::user::data::entity_ids%]",
|
|
"round_digits": "[%key:component::min_max::config::step::user::data::round_digits%]",
|
|
"type": "[%key:component::min_max::config::step::user::data::type%]"
|
|
},
|
|
"data_description": {
|
|
"round_digits": "[%key:component::min_max::config::step::user::data_description::round_digits%]"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|