Skip to content

Commit

Permalink
Update shellyplusrgbwpm.js
Browse files Browse the repository at this point in the history
Fix:
Expected indentation of 4 spaces but found 6    indent
Missing trailing comma                          comma-dangle
  • Loading branch information
Paradoxa authored Sep 12, 2024
1 parent fbf1478 commit 9acad87
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions lib/devices/gen2/shellyplusrgbwpm.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const shellyHelperGen2 = require('../gen2-helper');
* https://shelly-api-docs.shelly.cloud/gen2/Devices/Gen2/ShellyPlusRGBWPM
*/
const shellyplusrgbwpm = {
'Sys.deviceMode': {
'Sys.deviceMode': {
mqtt: {
init_funct: self => self.getDeviceMode(),
http_publish: '/rpc/Sys.GetConfig',
Expand All @@ -29,7 +29,7 @@ const shellyplusrgbwpm = {
},
},
},
'PLUSRGBWPM.HighFrequency': {
'PLUSRGBWPM.HighFrequency': {
mqtt: {
http_publish: '/rpc/PlusRGBWPM.GetStatus',
http_publish_funct: value => value ? JSON.parse(value).hf_mode : undefined,
Expand All @@ -38,16 +38,16 @@ const shellyplusrgbwpm = {
},
common: {
name: {
en: 'High Frequency',
de: 'Hochfrequenz',
ru: 'Высокая частота',
pt: 'Alta frequência',
nl: 'Hoge frequentie',
fr: 'Haute fréquence',
it: 'Alta frequenza',
es: 'Alta frecuencia',
pl: 'Wysoka częstotliwość',
'zh-cn': '高频率'
en: 'High Frequency',
de: 'Hochfrequenz',
ru: 'Высокая частота',
pt: 'Alta frequência',
nl: 'Hoge frequentie',
fr: 'Haute fréquence',
it: 'Alta frequenza',
es: 'Alta frecuencia',
pl: 'Wysoka częstotliwość',
'zh-cn': '高频率',
},
type: 'boolean',
role: 'state',
Expand Down

0 comments on commit 9acad87

Please sign in to comment.