Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PSA: Sensor print_weight has renamed attributes #888

Open
Lemonadel opened this issue Feb 2, 2025 · 2 comments
Open

PSA: Sensor print_weight has renamed attributes #888

Lemonadel opened this issue Feb 2, 2025 · 2 comments
Labels
external Issue is related to functionality outside the integration

Comments

@Lemonadel
Copy link

Lemonadel commented Feb 2, 2025

Hello,
That’s not complaining- I like this change to follow real naming :)

In case someone also automated AMS filament tracking and is parsing attributes per AMS / External slot:
Currently it’s no longer i.e “AMS Slot 1” but “AMS 1 Tray 1”. External spool was also “AMS Slot 1 previously” not checked what it’s now.

Luckily for me it’s just timeslot of 6 possible hours for fixing missing print weights (few prints) but if someone have it used in farm in HA - you might miss it (personally I forgot to make a check in automation if print_weight == sum of all parsed weights).

Image

@Lemonadel
Copy link
Author

Lemonadel commented Feb 2, 2025

In case someone is interested in how I parse:

In configuration.yaml
I create sensor:

sensor:

  • platform: template
    sensors: !include “!sensor.yaml”

And in created file “!sensor.yaml” on the same folder level:
ams_a1_printweight: friendly_name: "AMS A1 PrintWeight" value_template: "{{ (state_attr('sensor.replicator_print_weight', 'AMS 1 Tray 1')) |float(0) }}" unit_of_measurement: 'g'
After that reboot HA (perform Developer Tools -> “check configuration”) or just click
after checking configuration on “All yaml configuration” in “YAML configuration reloading part”

Image
Image

@AdrianGarside
Copy link
Collaborator

External spool is now 'External Spool'

@AdrianGarside AdrianGarside added the external Issue is related to functionality outside the integration label Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external Issue is related to functionality outside the integration
Projects
None yet
Development

No branches or pull requests

2 participants