Phase 5: Number & Select Entities in Home Assistant
Priority: 🟡 Medium
Scope: HA integration
Depends on: Phases 1-3 (#1373, #1374, #1375)
Parent: #1371
Goal
Expose writable parameters as proper HA number and select entities, allowing users to adjust settings directly from the HA UI without needing service calls.
Background
Currently, the HA BSB-LAN integration primarily uses:
climate entities (temperature setpoint + HVAC mode)
water_heater entity (DHW temperature + mode)
sensor entities (read-only values)
button entities (one-shot actions)
Many BSB-LAN parameters are writable but have no corresponding HA entity. Users must use service calls or the BSB-LAN web interface to change them.
Proposed Number Entities
| Parameter |
Name |
Range |
Unit |
Description |
| 710 |
comfort_setpoint |
8-30 |
°C |
Comfort mode setpoint |
| 712 |
reduced_setpoint |
8-20 |
°C |
Reduced (night) mode setpoint |
| 730 |
dhw_setpoint |
30-65 |
°C |
DHW nominal setpoint |
| 740 |
legionella_setpoint |
55-70 |
°C |
Legionella protection setpoint |
| 741 |
legionella_periodicity |
1-14 |
days |
Legionella cycle frequency |
| 3266 |
sg_boost_offset |
0-10 |
K |
Smart grid boost temp offset |
Proposed Select Entities
| Parameter |
Name |
Options |
Description |
| 700 |
operating_mode |
Protection / Automatic / Reduced / Comfort |
HC operating mode |
| 1600 |
dhw_operating_mode |
Off / On / Eco / ... |
DHW operating mode |
| 1642 |
legionella_day |
Mon-Sun / Daily |
Legionella function day |
| 3264 |
smart_grid_mode |
Block / Normal / Boost / Max Boost |
SG-Ready mode |
Tasks
HA Integration
Library (python-bsblan) — if needed
Acceptance Criteria
- Users can adjust setpoints directly from HA dashboard (number entities)
- Users can change operating modes from HA dashboard (select entities)
- All writable entities properly update their state after writes
- Multi-circuit: separate entities per circuit where applicable
- Enum labels are translated and human-readable
- Graceful handling of read-only or unavailable parameters
Design Decisions Needed
Phase 5: Number & Select Entities in Home Assistant
Priority: 🟡 Medium
Scope: HA integration
Depends on: Phases 1-3 (#1373, #1374, #1375)
Parent: #1371
Goal
Expose writable parameters as proper HA
numberandselectentities, allowing users to adjust settings directly from the HA UI without needing service calls.Background
Currently, the HA BSB-LAN integration primarily uses:
climateentities (temperature setpoint + HVAC mode)water_heaterentity (DHW temperature + mode)sensorentities (read-only values)buttonentities (one-shot actions)Many BSB-LAN parameters are writable but have no corresponding HA entity. Users must use service calls or the BSB-LAN web interface to change them.
Proposed Number Entities
comfort_setpointreduced_setpointdhw_setpointlegionella_setpointlegionella_periodicitysg_boost_offsetProposed Select Entities
operating_modedhw_operating_modelegionella_daysmart_grid_modeTasks
HA Integration
number.pyplatformBSBLANNumberentity classset_native_value()→ libraryset_*()methodsselect.pyplatformBSBLANSelectentity classselect_option()→ libraryset_*()methods__init__.pywith new platformssuggested_object_idfrom parameter nameLibrary (python-bsblan) — if needed
set_heating()method for HC setpoints (may already exist viathermostat())Acceptance Criteria
Design Decisions Needed
NumberMode.BOX(text input) orNumberMode.SLIDER?config,diagnostic)?