mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 18:27:09 +00:00
Translate number selector unit for utility_meter (#148276)
This commit is contained in:
parent
4b5c04b2f0
commit
404d17efca
@ -94,6 +94,7 @@ CONFIG_SCHEMA = vol.Schema(
|
|||||||
max=28,
|
max=28,
|
||||||
mode=selector.NumberSelectorMode.BOX,
|
mode=selector.NumberSelectorMode.BOX,
|
||||||
unit_of_measurement="days",
|
unit_of_measurement="days",
|
||||||
|
translation_key=CONF_METER_OFFSET,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
vol.Required(CONF_TARIFFS, default=[]): selector.SelectSelector(
|
vol.Required(CONF_TARIFFS, default=[]): selector.SelectSelector(
|
||||||
|
@ -58,6 +58,11 @@
|
|||||||
"quarterly": "Quarterly",
|
"quarterly": "Quarterly",
|
||||||
"yearly": "Yearly"
|
"yearly": "Yearly"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"offset": {
|
||||||
|
"unit_of_measurement": {
|
||||||
|
"days": "days"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"services": {
|
"services": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user