hass-core/homeassistant/components/min_max/strings.json
Paulus Schoutsen 7859be6481
Add deduplicate translations script (#96384)
* Add deduplicate script

* Fix forecast_solar incorrect key with space

* Fix utf-8

* Do not create references to other arbitrary other integrations

* Add commented code to only allow applying to referencing integrations

* Tweak

* Bug fix

* Add command line arg for limit reference

* never suggest to update common keys

* Output of script

* Apply suggestions from code review

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

---------

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2023-07-13 11:52:50 -04:00

53 lines
1.6 KiB
JSON

{
"title": "Combine the state of several sensors",
"config": {
"step": {
"user": {
"title": "[%key:component::min_max::title%]",
"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": "[%key:common::config_flow::data::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%]"
}
}
}
},
"selector": {
"type": {
"options": {
"min": "Minimum",
"max": "Maximum",
"mean": "Arithmetic mean",
"median": "Median",
"last": "Most recently updated",
"range": "Statistical range",
"sum": "Sum"
}
}
},
"services": {
"reload": {
"name": "[%key:common::action::reload%]",
"description": "Reloads min/max sensors from the YAML-configuration."
}
}
}