Skip to content

Commit

Permalink
Fix "quiet_mode_is" condition
Browse files Browse the repository at this point in the history
  • Loading branch information
aivus committed Sep 20, 2024
1 parent ff3260d commit bc71637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class GreeHVAC extends Homey.App {

this.homey.flow.getConditionCard('quiet_mode_is')
.registerRunListener((args, state) => {
const quietMode = args.device.getCapabilityValue('quiet_mode_is');
const quietMode = args.device.getCapabilityValue('quiet_mode');
args.device.log('[condition]', '[quiet mode]', quietMode);
return args.mode === quietMode;
});
Expand Down

0 comments on commit bc71637

Please sign in to comment.