Skip to content

Commit 94ce7ab

Browse files
committed
Swap the order of turn_off and turn_on
1 parent 78811e0 commit 94ce7ab

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

public/locales/bg.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ views:
125125
unlock: отключи
126126
open: отвори
127127
open_alternative: отвори
128-
turn_on: включи
129128
turn_off: изключи
129+
turn_on: включи
130130
turn_on_cooling: охлаждане
131131
turn_on_heating: отопление
132132
offline: В момента няма връзка с устройството

public/locales/en.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ views:
118118
unlock: unlock
119119
open: open
120120
open_alternative: open
121-
turn_on: turn on
122121
turn_off: turn off
122+
turn_on: turn on
123123
turn_on_cooling: cooling
124124
turn_on_heating: heating
125125
offline: Device is currently offline

src/widgets/DeviceActionButton/DeviceActionButton.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ const types = {
2929
},
3030
},
3131
light: {
32-
turn_on: {
33-
variant: 'success',
34-
icon: 'fa-solid fa-lightbulb',
35-
},
3632
turn_off: {
3733
variant: 'danger',
3834
icon: 'fa-regular fa-lightbulb',
3935
},
36+
turn_on: {
37+
variant: 'success',
38+
icon: 'fa-solid fa-lightbulb',
39+
},
4040
},
4141
hvac: {
4242
turn_off: {

0 commit comments

Comments
 (0)