Skip to content

Commit

Permalink
Split SensorThermalComfort
Browse files Browse the repository at this point in the history
This splits SensorThermalComfort in two separate classes. One
computing/managing class for a set of sensors with the same input
sensors. And a class for the separate sensors.

Computing functions are now decorated so they can be called async in a
synchronized way so that a value is only recalculated once after an update
for all dependent sensors.

This should reduce duplicate calculation and update calls.
  • Loading branch information
rautesamtr committed Jan 14, 2022
1 parent e7aeaf9 commit 80d53bf
Show file tree
Hide file tree
Showing 2 changed files with 198 additions and 159 deletions.
Loading

0 comments on commit 80d53bf

Please sign in to comment.