Update labels for derivative config flow time units (#68665)

This commit is contained in:
Erik Montnemery 2022-03-26 12:36:35 +01:00 committed by GitHub
parent 7198ec06d3
commit 23a567e135
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,10 +41,10 @@ UNIT_PREFIXES = [
{"value": "T", "label": "P (peta)"},
]
TIME_UNITS = [
{"value": TIME_SECONDS, "label": "s (seconds)"},
{"value": TIME_MINUTES, "label": "min (minutes)"},
{"value": TIME_HOURS, "label": "h (hours)"},
{"value": TIME_DAYS, "label": "d (days)"},
{"value": TIME_SECONDS, "label": "Seconds"},
{"value": TIME_MINUTES, "label": "Minutes"},
{"value": TIME_HOURS, "label": "Hours"},
{"value": TIME_DAYS, "label": "Days"},
]
OPTIONS_SCHEMA = vol.Schema(