Skip to content

Commit

Permalink
Merge pull request #26 from artem-sedykh/dev
Browse files Browse the repository at this point in the history
refactoring
  • Loading branch information
artem-sedykh authored Jun 6, 2020
2 parents def4298 + 25d1005 commit bb5e079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/configurations/zhimi_humidifier_cb1.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const ZHIMI_HUMIDIFIER_CB1 = {
max: 80,
step: 10,
hide: false,
state: { entity: undefined, attribute: 'target_humidity' },
state: { attribute: 'target_humidity' },
change_action: (selected, state, entity) => {
const options = { entity_id: entity.entity_id, humidity: selected };
return this.call_service('xiaomi_miio', 'fan_set_target_humidity', options);
Expand Down

0 comments on commit bb5e079

Please sign in to comment.