Skip to content

Commit 6d1971c

Browse files
authored
Pull updated strings from HA Core (#4168)
* Change "Auto relock" to "Autorelock" * Change "Auto clean" to "Autoclean" * Change "auto shutdown" to "auto-shutdown"
1 parent 43463ba commit 6d1971c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

zhaquirks/nimly/lock.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def last_action_user_converter(value: int) -> int:
131131
cluster_id=NimlyDoorLock.cluster_id,
132132
attribute_name=NimlyDoorLock.AttributeDefs.auto_relock_time.name,
133133
translation_key="auto_relock",
134-
fallback_name="Auto relock",
134+
fallback_name="Autorelock",
135135
)
136136
.number(
137137
endpoint_id=11,
@@ -199,7 +199,7 @@ def last_action_user_converter(value: int) -> int:
199199
cluster_id=NimlyDoorLock.cluster_id,
200200
attribute_name=NimlyDoorLock.AttributeDefs.auto_relock_time.name,
201201
translation_key="auto_relock",
202-
fallback_name="Auto relock",
202+
fallback_name="Autorelock",
203203
)
204204
.number(
205205
endpoint_id=11,

zhaquirks/tuya/tuya_valve.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ class GiexIrrigationStatus(t.enum8):
686686
attribute_name="auto_clean",
687687
entity_type=EntityType.CONFIG,
688688
translation_key="auto_clean",
689-
fallback_name="Auto clean",
689+
fallback_name="Autoclean",
690690
)
691691
.tuya_dp(
692692
dp_id=21,
@@ -723,7 +723,7 @@ class GiexIrrigationStatus(t.enum8):
723723
step=5,
724724
unit=PERCENTAGE,
725725
translation_key="valve_state_auto_shutdown",
726-
fallback_name="Valve state auto shutdown",
726+
fallback_name="Valve state auto-shutdown",
727727
)
728728
.tuya_sensor(
729729
dp_id=3,

0 commit comments

Comments
 (0)