Skip to content

Commit

Permalink
Better
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierZal committed Dec 31, 2023
1 parent f778175 commit 34b6874
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/nuos/device.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ enum Mode {
manual = 2,
}

const ENERGY_REFRESH_INTERVAL = 2 // hours
const ENERGY_REFRESH_INTERVAL: number = Duration.fromObject({ hours: 2 }).as(
'hours',
)
const INITIAL_DATA: PostData = { plantData: {}, viewModel: {} }
const K_MULTIPLIER = 1000

Expand Down

0 comments on commit 34b6874

Please sign in to comment.