Skip to content

Off-by-one minute error in work mode slot time calculations causing invalid Growatt TL3-XH time slot values #102

Description

@tomasvonhofsten

What happened

BESS Manager consistently sends work mode slot end times that are 1 minute early when controlling Growatt TL3-XH inverters via the Growatt Server HA integration.

Examples observed:

  • Slot 1 end: 20:44 (should be 20:45)
  • Slot 2 end: 12:59 (should be 13:00)
  • Slot 3 end: 16:14 (should be 16:15)
  • Slot 4 end: 17:14 (should be 17:15)

The Growatt integration only accepts 15-minute increment values
(00:00, 00:15, 00:30... etc). When BESS sends an off-by-one value
like 16:14, HA rejects it with:

"Invalid option for select.growatt_tl_x_xh_tl3_xh_work_mode_slot_3_end:
'16:14'"

This means the intended schedule is never actually applied to the
inverter — the work mode slots remain at their previous values.
BESS Manager believes it has set the schedule but the inverter is
not following it.

Setup:

  • Inverter: Growatt MOD 10KTL3-XH
  • Battery: Growatt ARK 15kWh
  • HA Growatt Server integration with API token auth
  • BESS Manager 8.6.0

Debug bundle

Please drag-and-drop bess-debug-2026-05-19-080021.md from your Downloads folder into the editor below before submitting.
The file contains your version, settings, recent logs, and the raw HA discovery dump that the maintainers need to reproduce the issue.

bess-debug-2026-05-19-080021.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    analyzedRoot-cause diagnosis posted, awaiting @claude-bot fix

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions