Skip to content

Led does not stay toggle after modification of node  #117

@KnottyCord

Description

@KnottyCord

Describe the bug
When you modified the ui_led. The led does not Toggle anymore. It's just blink's and turn off. I don't know if there's a way to toggle the led. But when I add a new one it works and does not turn of and stays the right colors.

To Reproduce
Steps to reproduce the behavior:

  1. Add a ui_led
  2. Deploy the project
  3. Make a modification
  4. And redeploy

[{"id":"76b4db7e96ac8e37","type":"function","z":"6a21517c893f1583","name":"Check if message includes","func":"if (msg.payload.includes(\"MA OK 09\")) {\n msg.payload = \"MA OK 09\";\n} else if (msg.payload.includes(\"MA OK 08\")){\n msg.payload = \"MA OK 08\";\n}\nelse if (msg.payload.includes(\"AM STBY\")) {\n msg.payload = \"AM STBY\";\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":580,"y":260,"wires":[["a9f2d39ef6337522"]]},{"id":"a9f2d39ef6337522","type":"change","z":"6a21517c893f1583","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":820,"y":260,"wires":[["de97a364c348401c"]]},{"id":"de97a364c348401c","type":"ui_led","z":"6a21517c893f1583","order":1,"group":"9b2f1202cabbddaf","width":0,"height":0,"label":"Jenny","labelPlacement":"right","labelAlignment":"left","colorForValue":[{"color":"#00ff00","value":"MA OK 09","valueType":"str"},{"color":"#ff0000","value":"MA OK 08","valueType":"str"},{"color":"#ffff00","value":"AM STBY","valueType":"str"}],"allowColorForValueInMessage":false,"shape":"circle","showGlow":true,"name":"Jenny (A)","x":1000,"y":260,"wires":[]},{"id":"9b2f1202cabbddaf","type":"ui_group","name":"Maisons des Fées","tab":"48d05d927832262e","order":2,"disp":true,"width":"5","collapse":false,"className":""},{"id":"48d05d927832262e","type":"ui_tab","name":"Dashboard","icon":"dashboard","order":2,"disabled":false,"hidden":false}]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions