mirror of
https://github.com/home-assistant/core
synced 2024-09-03 08:14:07 +02:00
35 lines
1.1 KiB
JSON
35 lines
1.1 KiB
JSON
{
|
|
"title": "Min / max / mean / median sensor",
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"title": "Add min / max / mean / median sensor",
|
|
"description": "Create a sensor that calculates a min, max, mean or median value 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 or median."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"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%]"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|