Skip to content

start_time_attr not working for Bambu P1S Printer #56

@dlehrbaum

Description

@dlehrbaum

Appreciate the useful lovelace card! Attempting to include my Bambu P1S printer using entities from the "Bambu Lab" custom integration did not produce the expected results. I used the start_time_attr parameter described in the documentation added manually via YAML as this was not available in the GUI. There were no examples with this parameter in the documentation so I'm not sure if I'm using it properly.

Issue:

With the following parameters I would expect the progress bar to be at 26%; however, the progress bar has remained at 100%. The numerical countdown is working properly, so the timestamp format seems to be accepted and understood by the integration.

Sensor Data:

sensor.p1s_end_time = '2025-11-29 16:59:00'
sensor.p1s_start_time = '2025-11-29 13:54:00'

Expected Behavior:

Current time is '2025-11-29 14:42:00'
Calculated duration from sensor data is 185 minutes
Calculated progress based on current time is 48 minutes
--> Progress / Duration = 26%

YAML Entities Section Reference:

entities:
  - mode: timestamp
    entity: sensor.p1s_end_time
    start_time_attr: sensor.p1s_start_time
    icon: mdi:printer-3d-nozzle
    name: P1S Active Print

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions