mirror of
https://github.com/home-assistant/core.git
synced 2025-09-04 12:21:36 +02:00
Fix missing labels for subdiv in workday (#150684)
This commit is contained in:
committed by
Franck Nijhof
parent
0647222402
commit
22e19e768e
@@ -86,6 +86,9 @@ def add_province_and_language_to_schema(
|
||||
SelectOptionDict(value=k, label=", ".join(v))
|
||||
for k, v in subdiv_aliases.items()
|
||||
]
|
||||
for option in province_options:
|
||||
if option["label"] == "":
|
||||
option["label"] = option["value"]
|
||||
else:
|
||||
province_options = provinces
|
||||
province_schema = {
|
||||
|
Reference in New Issue
Block a user