[{"id":"f3ab7248.bc71d","type":"ui_switch","z":"ae6391de.2859e","name":"","label":"Switch","tooltip":"","group":"6c7c8e8a.63dc8","order":3,"width":"0","height":"0","passthru":true,"decouple":"false","topic":"topic","topicType":"msg","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","animate":false,"x":130,"y":220,"wires":[["d0c88e92.b9309"]]},{"id":"d0c88e92.b9309","type":"Tasmota Switch","z":"ae6391de.2859e","broker":"a36e2f8a.1c6a6","device":"Meteo","name":"Meteo","outputs":1,"uidisabler":false,"fullTopic":"","cmndPrefix":"","statPrefix":"","telePrefix":"","x":830,"y":220,"wires":[[]]},{"id":"f6ca4949.1b5c08","type":"sunrise","z":"ae6391de.2859e","name":"","lat":"46.7212","lon":"25.5855","start":"sunrise","end":"sunsetStart","soff":0,"eoff":0,"x":210,"y":700,"wires":[["78f9ccca.80c4f4","afef7f25.85ea8"],[]]},{"id":"d7b26b1.6c62098","type":"ui_switch","z":"ae6391de.2859e","name":"","label":"Enable Sunrise","tooltip":"","group":"6c7c8e8a.63dc8","order":4,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"payload","topicType":"msg","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","animate":false,"x":100,"y":360,"wires":[["ca6a4694.9aa9f8","6bd72a92.80d0b4","c0d8e45a.b9f3e8"]]},{"id":"ba405204.4c60a","type":"debug","z":"ae6391de.2859e","name":"","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":690,"y":420,"wires":[]},{"id":"fc51004c.ba5fd","type":"debug","z":"ae6391de.2859e","name":"","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":670,"y":700,"wires":[]},{"id":"78f9ccca.80c4f4","type":"switch","z":"ae6391de.2859e","name":"","property":"Enable","propertyType":"flow","rules":[{"t":"eq","v":"payload","vt":"msg"}],"checkall":"true","repair":false,"outputs":1,"x":390,"y":700,"wires":[["fc51004c.ba5fd","d0c88e92.b9309"]]},{"id":"ca6a4694.9aa9f8","type":"change","z":"ae6391de.2859e","name":"","rules":[{"t":"set","p":"Enable","pt":"flow","to":"false","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":480,"y":420,"wires":[["ba405204.4c60a"]]},{"id":"afef7f25.85ea8","type":"debug","z":"ae6391de.2859e","name":"","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":670,"y":640,"wires":[]},{"id":"6bd72a92.80d0b4","type":"debug","z":"ae6391de.2859e","name":"","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":690,"y":360,"wires":[]},{"id":"17b2cb83.3725b4","type":"debug","z":"ae6391de.2859e","name":"","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":690,"y":480,"wires":[]},{"id":"10079b84.5312b4","type":"change","z":"ae6391de.2859e","name":"","rules":[{"t":"set","p":"Enable","pt":"flow","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":480,"y":480,"wires":[["17b2cb83.3725b4"]]},{"id":"c0d8e45a.b9f3e8","type":"Invert","z":"ae6391de.2859e","name":"Invert","x":290,"y":480,"wires":[["10079b84.5312b4"]]},{"id":"6c7c8e8a.63dc8","type":"ui_group","name":"Meteo","tab":"ee8fb9fa.4adfe8","order":1,"disp":true,"width":"7","collapse":false},{"id":"a36e2f8a.1c6a6","type":"mqtt-broker","name":"","broker":"192.168.101.3","port":"1883","clientid":"","usetls":false,"compatmode":false,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""},{"id":"ee8fb9fa.4adfe8","type":"ui_tab","name":"Home","icon":"dashboard","disabled":false,"hidden":false}]
the flow variable (flow.Enable) follows the state of the ui switch (Enable Sunrise) true/false.
now (on the screenshot), the lowest msg.payload debug node value should be 0 if i'd know this thing better.