Use common string references for device_automation translations (#95897)

This commit is contained in:
Jan Bouwhuis 2023-07-10 12:56:51 +02:00 committed by GitHub
parent af03a284a5
commit 7eb087a9d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 71 additions and 55 deletions

View file

@ -52,8 +52,8 @@
"is_no_vibration": "{entity_name} is not detecting vibration",
"is_open": "{entity_name} is open",
"is_not_open": "{entity_name} is closed",
"is_on": "{entity_name} is on",
"is_off": "{entity_name} is off"
"is_on": "[%key:common::device_automation::condition_type::is_on%]",
"is_off": "[%key:common::device_automation::condition_type::is_off%]"
},
"trigger_type": {
"bat_low": "{entity_name} battery low",
@ -106,8 +106,8 @@
"no_vibration": "{entity_name} stopped detecting vibration",
"opened": "{entity_name} opened",
"not_opened": "{entity_name} closed",
"turned_on": "{entity_name} turned on",
"turned_off": "{entity_name} turned off"
"turned_on": "[%key:common::device_automation::trigger_type::turned_on%]",
"turned_off": "[%key:common::device_automation::trigger_type::turned_off%]"
}
},
"entity_component": {