#Wled status Led problem

1 messages · Page 1 of 1 (latest)

indigo carbon
#

Hey,

I am currently building a status Led for my 4 Printers.
Status while printing with the Percent animation.
When finish i switch to Meteor

Now i have a strange behavior:
After finishing the print and starting a new one, the code stuck in the Meteor animation

when i test my code i get an error on the stage where i write my printing progress onto the intensity of the Percent animation.

After restarting the ESP32, one cycle of printing works fine but stucks in the finish animation.

Thanks for the help!

alias: Druckfortschritt 1
description: >-
Kopiert den Druckfortschritt-Sensor in die WLED-Intensität und zeigt am Ende
pulsierendes Blau
triggers:

  • entity_id: sensor.1_p1s_druckfortschritt
    trigger: state
    actions:
  • choose:
    • conditions:
      • condition: template
        value_template: "{{ states('sensor.1_p1s_druckfortschritt') | int == 100 }}"
        sequence:
      • target:
        entity_id: light.1
        data:
        effect: Meteor
        rgb_color:
        - 0
        - 0
        - 255
        action: light.turn_on
    • conditions:
      • condition: template
        value_template: "{{ states('sensor.1_p1s_druckfortschritt') | int < 100 }}"
        sequence:
      • target:
        entity_id: number.3d_druckerled_intensitat
        data:
        value: |
        {{ states('sensor.1_p1s_druckfortschritt') | float | round(0) }}
        action: number.set_value
      • action: light.turn_on
        metadata: {}
        data:
        transition: 0
        effect: Percent
        target:
        entity_id: light.1
        mode: single