Skip to content

Commit

Permalink
fix array name
Browse files Browse the repository at this point in the history
  • Loading branch information
tuliocll authored Jan 11, 2024
1 parent 991e98e commit c144fff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/accessory/IRAirConditionerAccessory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ export default class IRAirConditionerAccessory extends BaseAccessory {
return undefined;
}

const tempList = data.temp_list.map((temp) => temp.temp);
const tempList = keyRangeItem.temp_list.map((temp) => temp.temp);

const min = Math.min(...tempList);
const max = Math.max(...tempList);
Expand Down

0 comments on commit c144fff

Please sign in to comment.