Skip to content

Commit 1a1b50e

Browse files
authored
Add missing string for Shelly away mode switch (#157488)
1 parent 5a4d51e commit 1a1b50e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

homeassistant/components/shelly/strings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,9 @@
557557
"child_lock": {
558558
"name": "Child lock"
559559
},
560+
"cury_away_mode": {
561+
"name": "Away mode"
562+
},
560563
"frost_protection": {
561564
"name": "[%key:component::shelly::entity::climate::thermostat::state_attributes::preset_mode::state::frost_protection%]"
562565
},

homeassistant/components/shelly/switch.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,6 @@ class RpcSwitchDescription(RpcEntityDescription, SwitchEntityDescription):
306306
"cury_away_mode": RpcSwitchDescription(
307307
key="cury",
308308
sub_key="away_mode",
309-
name="Away mode",
310309
translation_key="cury_away_mode",
311310
is_on=lambda status: status["away_mode"],
312311
method_on="cury_set_away_mode",

0 commit comments

Comments
 (0)