Skip to content

v1.0.3

Latest
Compare
Choose a tag to compare
@Moondevil-ha Moondevil-ha released this 08 Nov 08:06
dae5408

Changelog - Solis Smart Charging Fix

[1.0.1] - 2024-11-08

Fixed

  • Fixed critical bug in core hours contiguity detection where charging blocks ending at core hours start time (23:30) were incorrectly treated as non-contiguous
  • Removed legacy day adjustment logic that was causing any charging blocks before core hours start time to be incorrectly compared against previous day's window
  • All charging blocks between 21:00-23:30 will now be correctly evaluated for contiguity with core hours (23:30-05:30)
  • Updated License file to correctly acknowledge work leveraged from others
  • Removed the 30 minute trigger from the example automation to prevent superfluous overwrites

Technical Details

  • Commented out day adjustment logic in is_contiguous_with_core_hours() function that was incorrectly pushing core_start back by one day when block start time was earlier than core start time
  • This ensures all same-night time comparisons are evaluated within the same 24-hour period
  • Change affects only time window evaluation logic and has no impact on other parts of the charging control system

Impact

  • More efficient use of available charging windows by correctly extending core hours when dispatch blocks are contiguous
  • Particularly important for Octopus Intelligent dispatch windows that end at 23:30

Full Changelog: v1.0.2...v1.0.3