SHARE
TWEET

Untitled

a guest Mar 26th, 2020 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [{"id":"113a422b.242a2e","type":"server-state-changed","z":"9e4587dd.d22478","name":"","server":"e942c8a6.a13f48","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"x":230,"y":2020,"wires":[["ba65aa75.2f1998"]]},{"id":"ba65aa75.2f1998","type":"switch","z":"9e4587dd.d22478","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"short_press","vt":"str"},{"t":"eq","v":"long_press_on","vt":"str"},{"t":"eq","v":"long_press_off","vt":"str"}],"checkall":"true","repair":false,"outputs":3,"x":550,"y":2020,"wires":[["92cbdb27.291dd8"],["602f35ca.3a408c"],["b8b1ac57.480e6"]]},{"id":"92cbdb27.291dd8","type":"change","z":"9e4587dd.d22478","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"1","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":780,"y":1980,"wires":[["f2947f3b.078a8","c85c6c1e.6bd86"]]},{"id":"602f35ca.3a408c","type":"change","z":"9e4587dd.d22478","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"2","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":780,"y":2020,"wires":[["f2947f3b.078a8","76c80007.f0b3a"]]},{"id":"b8b1ac57.480e6","type":"change","z":"9e4587dd.d22478","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"3","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":780,"y":2060,"wires":[["f2947f3b.078a8","19214750.51c6b9"]]},{"id":"c0dcbdbf.e49e3","type":"inject","z":"9e4587dd.d22478","name":"","topic":"","payload":"short_press","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":210,"y":2200,"wires":[["ba65aa75.2f1998"]]},{"id":"cd420fa.b9e27f","type":"inject","z":"9e4587dd.d22478","name":"","topic":"","payload":"long_press_on","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":220,"y":2240,"wires":[["ba65aa75.2f1998"]]},{"id":"53e74940.8b7da8","type":"inject","z":"9e4587dd.d22478","name":"","topic":"","payload":"long_press_off","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":220,"y":2280,"wires":[["ba65aa75.2f1998"]]},{"id":"c85c6c1e.6bd86","type":"api-call-service","z":"9e4587dd.d22478","name":"","server":"","version":1,"debugenabled":false,"service_domain":"","service":"","entityId":"","data":"","dataType":"json","mergecontext":null,"output_location":"payload","output_location_type":"none","mustacheAltTags":false,"x":1010,"y":1980,"wires":[[]]},{"id":"76c80007.f0b3a","type":"api-call-service","z":"9e4587dd.d22478","name":"","server":"","version":1,"debugenabled":false,"service_domain":"","service":"","entityId":"","data":"","dataType":"json","mergecontext":null,"output_location":"payload","output_location_type":"none","mustacheAltTags":false,"x":1010,"y":2020,"wires":[[]]},{"id":"19214750.51c6b9","type":"api-call-service","z":"9e4587dd.d22478","name":"","server":"","version":1,"debugenabled":false,"service_domain":"","service":"","entityId":"","data":"","dataType":"json","mergecontext":null,"output_location":"payload","output_location_type":"none","mustacheAltTags":false,"x":1010,"y":2060,"wires":[[]]},{"id":"f2947f3b.078a8","type":"debug","z":"9e4587dd.d22478","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":1010,"y":2240,"wires":[]},{"id":"e942c8a6.a13f48","type":"server","z":"","name":"Home Assistant"}]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top