Deduplicate weekdays in time conditions (#25915)

Replace weekdays conditions with references to common ui strings
This commit is contained in:
Norbert Rittel 2025-06-26 07:55:46 +02:00 committed by GitHub
parent 551035238f
commit 10eb0a8b87
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4193,13 +4193,13 @@
"mode_after": "[%key:ui::panel::config::automation::editor::conditions::type::time::after%]",
"mode_before": "[%key:ui::panel::config::automation::editor::conditions::type::time::before%]",
"weekdays": {
"mon": "Monday",
"tue": "Tuesday",
"wed": "Wednesday",
"thu": "Thursday",
"fri": "Friday",
"sat": "Saturday",
"sun": "Sunday"
"mon": "[%key:ui::weekdays::monday%]",
"tue": "[%key:ui::weekdays::tuesday%]",
"wed": "[%key:ui::weekdays::wednesday%]",
"thu": "[%key:ui::weekdays::thursday%]",
"fri": "[%key:ui::weekdays::friday%]",
"sat": "[%key:ui::weekdays::saturday%]",
"sun": "[%key:ui::weekdays::sunday%]"
},
"description": {
"picker": "If the current time is before or after a specified time.",