mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 11:47:06 +00:00
Update labels for derivative config flow time units (#68665)
This commit is contained in:
parent
7198ec06d3
commit
23a567e135
@ -41,10 +41,10 @@ UNIT_PREFIXES = [
|
|||||||
{"value": "T", "label": "P (peta)"},
|
{"value": "T", "label": "P (peta)"},
|
||||||
]
|
]
|
||||||
TIME_UNITS = [
|
TIME_UNITS = [
|
||||||
{"value": TIME_SECONDS, "label": "s (seconds)"},
|
{"value": TIME_SECONDS, "label": "Seconds"},
|
||||||
{"value": TIME_MINUTES, "label": "min (minutes)"},
|
{"value": TIME_MINUTES, "label": "Minutes"},
|
||||||
{"value": TIME_HOURS, "label": "h (hours)"},
|
{"value": TIME_HOURS, "label": "Hours"},
|
||||||
{"value": TIME_DAYS, "label": "d (days)"},
|
{"value": TIME_DAYS, "label": "Days"},
|
||||||
]
|
]
|
||||||
|
|
||||||
OPTIONS_SCHEMA = vol.Schema(
|
OPTIONS_SCHEMA = vol.Schema(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user