Advertisement
Guest User

Untitled

a guest
Mar 19th, 2023
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 8.93 KB | None | 0 0
  1. [{"id":"29885192b3ddc563","type":"switch","z":"8cae7cb9a2c3ae36","name":"Dag","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"Monday","vt":"str"},{"t":"eq","v":"Tuesday","vt":"str"},{"t":"eq","v":"Wednesday","vt":"str"},{"t":"eq","v":"Thursday","vt":"str"},{"t":"eq","v":"Friday","vt":"str"},{"t":"eq","v":"Saturday","vt":"str"},{"t":"eq","v":"Sunday","vt":"str"}],"checkall":"true","repair":false,"outputs":7,"x":830,"y":1260,"wires":[["6aa2ed6d57d401b1"],["d06fe6dbe4ab288d"],["56883f4a186c0947"],["0e6b35bc413b1de7"],["635f42f345141017"],["5474ffead3c871bd"],["eac626b077e626e9"]]},{"id":"35648d049fa6d1f2","type":"ha-time","z":"8cae7cb9a2c3ae36","name":"","server":"ce440416.77f1e8","version":2,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityId":"input_datetime.vacuum_schedule","property":"","offset":"","offsetType":"num","offsetUnits":"minutes","randomOffset":false,"repeatDaily":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"true","valueType":"bool"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"sunday":true,"monday":true,"tuesday":true,"wednesday":true,"thursday":true,"friday":true,"saturday":true,"debugenabled":true,"x":350,"y":1260,"wires":[["e173e13cb98c8349"]],"info":"This node will send payload **true** when the time is 10 minutes before the entity value.\n\nExample: Will trigger 22:40 if the entity value is 22:50\"\n\n\nEntity: input_datetime.wake_up_light_time \n"},{"id":"6aa2ed6d57d401b1","type":"api-current-state","z":"8cae7cb9a2c3ae36","name":"","server":"ce440416.77f1e8","version":3,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_boolean.vacuum_schedule_monday","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":1210,"y":1120,"wires":[["db6aed5ebb0d5c6c"],[]],"info":"This node will allow the flow to continue if entity is on.\n\nEntity: input_boolean.wake_up_light_enable\n"},{"id":"d06fe6dbe4ab288d","type":"api-current-state","z":"8cae7cb9a2c3ae36","name":"","server":"ce440416.77f1e8","version":3,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_boolean.vacuum_schedule_tuesday","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":1210,"y":1160,"wires":[["db6aed5ebb0d5c6c"],[]],"info":"This node will allow the flow to continue if entity is on.\n\nEntity: input_boolean.wake_up_light_enable\n"},{"id":"56883f4a186c0947","type":"api-current-state","z":"8cae7cb9a2c3ae36","name":"","server":"ce440416.77f1e8","version":3,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_boolean.vacuum_schedule_wednesday","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":1220,"y":1200,"wires":[["db6aed5ebb0d5c6c"],[]],"info":"This node will allow the flow to continue if entity is on.\n\nEntity: input_boolean.wake_up_light_enable\n"},{"id":"0e6b35bc413b1de7","type":"api-current-state","z":"8cae7cb9a2c3ae36","name":"","server":"ce440416.77f1e8","version":3,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_boolean.vacuum_schedule_thursday","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":1210,"y":1240,"wires":[["db6aed5ebb0d5c6c"],[]],"info":"This node will allow the flow to continue if entity is on.\n\nEntity: input_boolean.wake_up_light_enable\n"},{"id":"635f42f345141017","type":"api-current-state","z":"8cae7cb9a2c3ae36","name":"","server":"ce440416.77f1e8","version":3,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_boolean.vacuum_schedule_friday","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":1200,"y":1280,"wires":[["db6aed5ebb0d5c6c"],[]],"info":"This node will allow the flow to continue if entity is on.\n\nEntity: input_boolean.wake_up_light_enable\n"},{"id":"5474ffead3c871bd","type":"api-current-state","z":"8cae7cb9a2c3ae36","name":"","server":"ce440416.77f1e8","version":3,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_boolean.vacuum_schedule_saturday","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":1210,"y":1320,"wires":[["db6aed5ebb0d5c6c"],[]],"info":"This node will allow the flow to continue if entity is on.\n\nEntity: input_boolean.wake_up_light_enable\n"},{"id":"eac626b077e626e9","type":"api-current-state","z":"8cae7cb9a2c3ae36","name":"","server":"ce440416.77f1e8","version":3,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_boolean.vacuum_schedule_sunday","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":1210,"y":1360,"wires":[["db6aed5ebb0d5c6c"],[]],"info":"This node will allow the flow to continue if entity is on.\n\nEntity: input_boolean.wake_up_light_enable\n"},{"id":"db6aed5ebb0d5c6c","type":"api-call-service","z":"8cae7cb9a2c3ae36","name":"","server":"ce440416.77f1e8","version":5,"debugenabled":false,"domain":"vacuum","service":"start","areaId":[],"deviceId":[],"entityId":["vacuum.roborock_vacuum_a10"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1610,"y":1260,"wires":[[]]},{"id":"de47c4892e61ddd3","type":"comment","z":"8cae7cb9a2c3ae36","name":"https://flemmingss.com/","info":"","x":1580,"y":1360,"wires":[]},{"id":"e173e13cb98c8349","type":"api-render-template","z":"8cae7cb9a2c3ae36","name":"Day of Week","server":"19e1c0e4.b3625f","version":0,"template":"{{ ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'][now().weekday()] }}","resultsLocation":"payload","resultsLocationType":"msg","templateLocation":"template","templateLocationType":"msg","x":650,"y":1260,"wires":[["29885192b3ddc563"]]},{"id":"ce440416.77f1e8","type":"server","name":"Home Assistant","version":4,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30,"areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":"at: ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"h23","statusTimeFormat":"h:m"},{"id":"19e1c0e4.b3625f","type":"server","name":"Home Assistant","version":5,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":"30","areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":"at: ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"h23","statusTimeFormat":"h:m","enableGlobalContextStore":true}]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement