Skip to content

Commit

Permalink
Do not warn if demand control data is not available
Browse files Browse the repository at this point in the history
It might not be supported.
  • Loading branch information
Matze2 committed Sep 29, 2024
1 parent 0582e4f commit 8b63a6f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion daikin.js
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,9 @@ async function storeDaikinData(err) {
updated += await handleDaikinUpdate(control, 'control');
updated += await handleDaikinUpdate(controlInfo, 'controlInfo');
updated += await handleDaikinUpdate(daikinDevice.currentACSensorInfo, 'sensorInfo');
updated += await handleDaikinUpdate(daikinDevice.currentACDemandControl, 'demandControl');
if (daikinDevice.currentACDemandControl) {
updated += await handleDaikinUpdate(daikinDevice.currentACDemandControl, 'demandControl');
}
if (updated > 0) {
adapter.log.info(`${updated} Values updated`);
}
Expand Down

0 comments on commit 8b63a6f

Please sign in to comment.