Skip to content

Commit

Permalink
Changes names to lower case
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbungle64 committed Feb 2, 2024
1 parent 572c460 commit e6cb51b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions lib/adapterObjects.js
Original file line number Diff line number Diff line change
Expand Up @@ -640,9 +640,9 @@ async function createControlWashIntervalIfNotExists(adapter) {
const daily = isT20Type ? 10 : 15;
const efficient = isT20Type ? 15 : 25;
const states = {};
states[deep] = 'Deep';
states[daily] = 'Daily';
states[efficient] = 'Efficent';
states[deep] = 'deep';
states[daily] = 'daily';
states[efficient] = 'efficient';
await adapter.setObjectNotExists('control.extended.washInterval', {
'type': 'state',
'common': {
Expand Down
8 changes: 4 additions & 4 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -408,10 +408,10 @@ class EcovacsDeebot extends utils.Adapter {
'def': value,
'unit': '',
'states': {
0: 'Vacuum and mop',
1: 'Vacuum only',
2: 'Mop only',
3: 'Mop after vacuum'
0: 'vacuum and mop',
1: 'vacuum only',
2: 'mop only',
3: 'mop after vacuum'
}
},
'native': {}
Expand Down

0 comments on commit e6cb51b

Please sign in to comment.