greghesp / ha-bambulab

A Home Assistant Integration for Bambu Lab Printers
698 stars 59 forks source link

Add ams weight data to weight sensor #470

Closed AdrianGarside closed 4 months ago

AdrianGarside commented 4 months ago

Adds the AMS weight data breakdown as extra attributes to the existing weight sensor. Fixes an incorrect 24 hour jump in usage hours if you start and immediately cancel a print in < 30 seconds. Add exception handling around data update call into HA as an extra safeguard.