Skip to content

Releases: liudger/python-bsblan

v4.0.0

10 Jan 14:35

Choose a tag to compare

What’s changed

🚀 Enhancements

🧰 Maintenance

  • Add support for pre-release options in release drafter workflow @liudger (#1308)

📚 Documentation

⬆️ Dependency updates

More details

🚀 Performance Comparison: Lazy Loading

Before (Eager Loading)

  • Initialize(): ~24 seconds
  • All sections validated upfront (heating, sensor, staticValues, device, hot_water)
  • Hot water section alone: ~7.9 seconds (67% of total init time)

After (Lazy Loading)

  • Initialize(): ~0.02 seconds (~1200x faster)
  • Only fetches firmware version on init
  • Sections validated on-demand when first accessed

Granular Hot Water Loading

Hot water parameters split into 3 groups for more efficient loading:

Group Params Method Use Case
Essential 5 hot_water_state() Frequent polling
Config 16 hot_water_config() Advanced settings
Schedule 8 hot_water_schedule() Time programs

Race Condition Prevention

Added asyncio locks (double-checked locking pattern) to prevent duplicate network requests when concurrent calls access the same section before validation completes.

Home Assistant Impact

  • ⚡ Integration loads almost instantly
  • 📉 Reduced startup blocking time from ~24s to ~0.02s
  • 🔄 Data fetched on-demand, spreading network load over time

v4.0.0-beta.0

10 Jan 13:16

Choose a tag to compare

v4.0.0-beta.0 Pre-release
Pre-release

What’s changed

🚀 Enhancements

🧰 Maintenance

  • Add support for pre-release options in release drafter workflow @liudger (#1308)

📚 Documentation

⬆️ Dependency updates

v3.1.6

03 Jan 18:19

Choose a tag to compare

What’s changed

🚀 Enhancements

v3.1.5

03 Jan 15:58

Choose a tag to compare

What’s changed

🚀 Enhancements

🧰 Maintenance

  • ⬆️ Update package rules to match 'uv' manager for Python dependencies @liudger (#1275)
  • ⬆️ Enhance auto-approve workflow conditions for Renovate PRs @liudger (#1279)
  • mypy to astral ty @liudger (#1282)
  • Update copyright year in LICENSE and README files to 2026 @liudger (#1297)

⬆️ Dependency updates

v3.1.4

11 Dec 15:05

Choose a tag to compare

What’s changed

🐛 Bug fixes

  • Make outside_temperature optional in Sensor model @liudger (#1272)

🚀 Enhancements

🧰 Maintenance

  • Add GitHub Action for auto-approving Renovate PRs @liudger (#1274)

⬆️ Dependency updates

v3.1.3

02 Dec 07:56

Choose a tag to compare

What’s changed

🚀 Enhancements

  • Add DaySchedule and TimeSlot models for hot water scheduling @liudger (#1265)

v3.1.2

01 Dec 13:06

Choose a tag to compare

What’s changed

🚀 Enhancements

  • ⬆️ Refactor hot water parameters in BSBLAN class @liudger (#1252)
  • Refactor HVAC mode handling to use raw integer values @liudger (#1259)
  • Refactor hot water parameter @liudger (#1260)
  • Refactor API data initialization and add time format validation utility @liudger (#1261)
  • Add tests for validate_time_format utility function @liudger (#1262)

🧰 Maintenance

⬆️ Dependency updates

v3.1.1

13 Nov 14:29
b587e3d

Choose a tag to compare

What’s changed

🐛 Bug fixes

  • Fix: Allow min_temp and max_temp in StaticState to be optional @liudger (#1239)

⬆️ Dependency updates

v3.1.0

15 Sep 08:16
a871cff

Choose a tag to compare

What’s changed

🐛 Bug fixes

🚀 Enhancements

⬆️ Dependency updates

v3.0.0

17 Aug 12:07
b8c33ff

Choose a tag to compare

What’s changed

🚀 Enhancements

⬆️ Dependency updates