zepiaf / hydroqc

Hydro Quebec API wrapper.
MIT License
9 stars 4 forks source link

Fix and improve pre_heat #26

Closed mdallaire closed 2 years ago

mdallaire commented 2 years ago

The pre_heat configs were missing from config.yaml.default and fix pre_heat logic to use config.periods instead of config.events

I also added a logic that if pre_heat_start_offset = 0 we won't be calculating and pushing it.