mirror of
https://github.com/home-assistant/core.git
synced 2025-07-08 13:57:10 +00:00
Add unit translations to Ista EcoTrend integration (#131768)
This commit is contained in:
parent
ed408eb1a1
commit
57b099c2aa
@ -71,7 +71,6 @@ SENSOR_DESCRIPTIONS: tuple[IstaSensorEntityDescription, ...] = (
|
|||||||
translation_key=IstaSensorEntity.HEATING,
|
translation_key=IstaSensorEntity.HEATING,
|
||||||
suggested_display_precision=0,
|
suggested_display_precision=0,
|
||||||
consumption_type=IstaConsumptionType.HEATING,
|
consumption_type=IstaConsumptionType.HEATING,
|
||||||
native_unit_of_measurement="units",
|
|
||||||
state_class=SensorStateClass.TOTAL,
|
state_class=SensorStateClass.TOTAL,
|
||||||
),
|
),
|
||||||
IstaSensorEntityDescription(
|
IstaSensorEntityDescription(
|
||||||
|
@ -38,7 +38,8 @@
|
|||||||
"entity": {
|
"entity": {
|
||||||
"sensor": {
|
"sensor": {
|
||||||
"heating": {
|
"heating": {
|
||||||
"name": "Heating"
|
"name": "Heating",
|
||||||
|
"unit_of_measurement": "units"
|
||||||
},
|
},
|
||||||
"heating_cost": {
|
"heating_cost": {
|
||||||
"name": "Heating cost"
|
"name": "Heating cost"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user