Skip to content

Commit 5409181

Browse files
karwostsabmantis
andauthored
Add missing device trigger duration localizations (home-assistant#151578)
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>
1 parent c194521 commit 5409181

File tree

5 files changed

+14
-1
lines changed

5 files changed

+14
-1
lines changed

homeassistant/components/fan/strings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
"toggle": "[%key:common::device_automation::action_type::toggle%]",
1515
"turn_on": "[%key:common::device_automation::action_type::turn_on%]",
1616
"turn_off": "[%key:common::device_automation::action_type::turn_off%]"
17+
},
18+
"extra_fields": {
19+
"for": "[%key:common::device_automation::extra_fields::for%]"
1720
}
1821
},
1922
"entity_component": {

homeassistant/components/light/strings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@
5757
},
5858
"extra_fields": {
5959
"brightness_pct": "Brightness",
60-
"flash": "Flash"
60+
"flash": "Flash",
61+
"for": "[%key:common::device_automation::extra_fields::for%]"
6162
}
6263
},
6364
"entity_component": {

homeassistant/components/remote/strings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
"changed_states": "[%key:common::device_automation::trigger_type::changed_states%]",
1515
"turned_on": "[%key:common::device_automation::trigger_type::turned_on%]",
1616
"turned_off": "[%key:common::device_automation::trigger_type::turned_off%]"
17+
},
18+
"extra_fields": {
19+
"for": "[%key:common::device_automation::extra_fields::for%]"
1720
}
1821
},
1922
"entity_component": {

homeassistant/components/switch/strings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
"changed_states": "[%key:common::device_automation::trigger_type::changed_states%]",
1515
"turned_on": "[%key:common::device_automation::trigger_type::turned_on%]",
1616
"turned_off": "[%key:common::device_automation::trigger_type::turned_off%]"
17+
},
18+
"extra_fields": {
19+
"for": "[%key:common::device_automation::extra_fields::for%]"
1720
}
1821
},
1922
"entity_component": {

homeassistant/components/update/strings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
"changed_states": "{entity_name} update availability changed",
66
"turned_on": "{entity_name} got an update available",
77
"turned_off": "{entity_name} became up-to-date"
8+
},
9+
"extra_fields": {
10+
"for": "[%key:common::device_automation::extra_fields::for%]"
811
}
912
},
1013
"entity_component": {

0 commit comments

Comments
 (0)