Skip to content

Commit

Permalink
remove default AC buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Jin committed Jun 27, 2022
1 parent 5fb5553 commit 49fc175
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 37 deletions.
20 changes: 1 addition & 19 deletions config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -197,25 +197,7 @@
"type": "integer"
}
}
},
"default": [
{
"name": "Auto mode",
"op_mode": 6
},
{
"name": "Dry mode",
"op_mode": 1
},
{
"name": "Fan mode",
"op_mode": 2
},
{
"name": "Air clean",
"op_mode": 5
}
]
}
},
"ref_express_freezer": {
"title": "Express Freezer / Ice Plus",
Expand Down
19 changes: 1 addition & 18 deletions src/devices/AirConditioner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,24 +138,7 @@ export default class AirConditioner extends baseDevice {
ac_humidity_sensor: false,
ac_led_control: false,
ac_fan_control: false,
ac_buttons: [
{
'name': 'Auto mode',
'op_mode': 6,
},
{
'name': 'Dry mode',
'op_mode': 1,
},
{
'name': 'Fan mode',
'op_mode': 2,
},
{
'name': 'Air clean',
'op_mode': 5,
},
],
ac_buttons: [],
}, super.config);
}

Expand Down

0 comments on commit 49fc175

Please sign in to comment.