File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ version: 2025.12.0
44slug : day_ahead_opt
55description : Home Assistant Community Add-ons for day ahead optimizations
66url : https://github.com/corneel27/day-ahead
7- codenotary : cees.van.beek@xs4all.nl
87arch :
98 - aarch64
109 - amd64
Original file line number Diff line number Diff line change @@ -2154,7 +2154,7 @@ def calc_optimum(
21542154 blocks_num = 0 # dus geen block-optimalisering
21552155 else :
21562156 if self .hp_adjustment == "on/off" :
2157- blocks_num = math .ceil (hp_hours / min_run_length )
2157+ blocks_num = 1 + math .ceil (( hp_hours - first_block_len ) / min_run_length )
21582158 else :
21592159 blocks_num = math .ceil (min (hours_avail / (3 + min_run_length ), hp_hours / min_run_length ))
21602160 # blocks_num = math.ceil(max(hours_avail / 4, hp_hours / min_run_length))
Original file line number Diff line number Diff line change 11# Changelog 刀 DAO
22# Day Ahead Optimizer
3+ # 2025.12.1.rc1
4+ - Fix error calculating number of heat-blocks heatpump (on/off, reported by @sailor_dg)
35
46# 2025.12.0.rc8
57- Reduce number of blocks with low "min_run_length"
Original file line number Diff line number Diff line change 11---
22name : 刀 Day Ahead Optimizer (TESTING)
3- version : 2025.12.0.rc8
3+ version : 2025.12.1.rc1
44stage : experimental
55slug : day_ahead_opt-testing
66description : Beta version of DAO. Use only for testing!
77url : https://github.com/corneel27/day-ahead/
8- codenotary : cees.van.beek@xs4all.nl
98arch :
109 - aarch64
1110 - amd64
You can’t perform that action at this time.
0 commit comments