Fix condition typo (#29989)
This commit is contained in:
parent
3f32490ae6
commit
b058742404
4 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"device_automation": {
|
"device_automation": {
|
||||||
"condtion_type": {
|
"condition_type": {
|
||||||
"is_hvac_mode": "{entity_name} is set to a specific HVAC mode",
|
"is_hvac_mode": "{entity_name} is set to a specific HVAC mode",
|
||||||
"is_preset_mode": "{entity_name} is set to a specific preset mode"
|
"is_preset_mode": "{entity_name} is set to a specific preset mode"
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"device_automation": {
|
"device_automation": {
|
||||||
"condtion_type": {
|
"condition_type": {
|
||||||
"is_home": "{entity_name} is home",
|
"is_home": "{entity_name} is home",
|
||||||
"is_not_home": "{entity_name} is not home"
|
"is_not_home": "{entity_name} is not home"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"device_automation": {
|
"device_automation": {
|
||||||
"condtion_type": {
|
"condition_type": {
|
||||||
"is_docked": "{entity_name} is docked",
|
"is_docked": "{entity_name} is docked",
|
||||||
"is_cleaning": "{entity_name} is cleaning"
|
"is_cleaning": "{entity_name} is cleaning"
|
||||||
},
|
},
|
||||||
|
|
|
@ -92,7 +92,7 @@ def _custom_tasks(template, info) -> None:
|
||||||
info.update_strings(
|
info.update_strings(
|
||||||
device_automation={
|
device_automation={
|
||||||
**info.strings().get("device_automation", {}),
|
**info.strings().get("device_automation", {}),
|
||||||
"condtion_type": {
|
"condition_type": {
|
||||||
"is_on": "{entity_name} is on",
|
"is_on": "{entity_name} is on",
|
||||||
"is_off": "{entity_name} is off",
|
"is_off": "{entity_name} is off",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue