Skip to content

Commit

Permalink
3.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Hombach authored and Hombach committed Nov 21, 2024
1 parent 64785d1 commit 336c552
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions build/lib/tibberCalculator.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/lib/tibberCalculator.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/lib/tibberCalculator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,7 @@ export class TibberCalculator extends ProjectUtils {

//#region *** subscribe state changes ***
// this.adapter.subscribeStates(`Homes.${homeId}.Calculations.${channel}.*`);
/*
await this.adapter.subscribeStates([
this.adapter.subscribeStates([
`Homes.${homeId}.Calculations.${channel}.Active`,
`Homes.${homeId}.Calculations.${channel}.TriggerPrice`,
`Homes.${homeId}.Calculations.${channel}.AmountHours`,
Expand All @@ -225,14 +224,15 @@ export class TibberCalculator extends ProjectUtils {
`Homes.${homeId}.Calculations.${channel}.RepeatDays`,
`Homes.${homeId}.Calculations.${channel}.EfficiencyLoss`,
]);
*/
/*
this.adapter.subscribeStates(`Homes.${homeId}.Calculations.${channel}.Active`);
this.adapter.subscribeStates(`Homes.${homeId}.Calculations.${channel}.TriggerPrice`);
this.adapter.subscribeStates(`Homes.${homeId}.Calculations.${channel}.AmountHours`);
this.adapter.subscribeStates(`Homes.${homeId}.Calculations.${channel}.StartTime`);
this.adapter.subscribeStates(`Homes.${homeId}.Calculations.${channel}.StopTime`);
this.adapter.subscribeStates(`Homes.${homeId}.Calculations.${channel}.RepeatDays`);
this.adapter.subscribeStates(`Homes.${homeId}.Calculations.${channel}.EfficiencyLoss`);
*/
//#endregion
} catch (error) {
this.adapter.log.warn(this.generateErrorMessage(error, `setup of states for calculator`));
Expand Down

0 comments on commit 336c552

Please sign in to comment.