Best approach for creating washing machine flow?

Hi.

So i have been using these flows on a few devices, Washing Machine , Tumble Dryer and even our Dehumidfier. Working really well. However my Mrs flagged something up on the Tumble dryer flow i am using. I have included the screenshots and the code below.

Basically when the tumble dryer is on there may be a time when she needs to open the door just to check the items in there. In order to do this on our Tumble dryer you have to press the stop button and then the door will open.

Now by pressing the stop button the flow thinks the dryer has finished and sends out an alert. I also have the tumble dryer turn off when its finished.

looking for suggestions on how to get around this. She needs to open the door for a minute or two and then close it and let it continue running with however much time was left.


[{"id":"d70babf0b4e7045c","type":"tab","label":"Tumble Dryer","disabled":false,"info":"","env":[]},{"id":"ebdeb25a504beb50","type":"group","z":"d70babf0b4e7045c","name":"(1) - Power Tumble Dryer Plug - ON","style":{"label":true},"nodes":["f1b4434958c4b1eb","c128054b5bf7dabb","c2bf45a675132751","f3303359a98f91c1","cd443263a621e49d","05a371a4e06d42c6","d91a2f64d62ddbb4","16ada49fda713724","08bbc8efbae28a97","19f87bcf152c08b2","3dfe49dd653d929b","8473923dfdccf62d"],"x":14,"y":19,"w":1692,"h":162},{"id":"3f03c686cde6d8c4","type":"group","z":"d70babf0b4e7045c","name":"(2) - Check if the tumble dryer is powered on or if a program is started","style":{"label":true},"nodes":["0a468116c2c8570f","5e8aacdffc98345c","5310e628b873fccd","b21b8eeebebd7cf6"],"x":14,"y":199,"w":852,"h":142},{"id":"9f27f87fbcfa4838","type":"group","z":"d70babf0b4e7045c","name":"(3) - Check if the tumble dryer is powered off or the program has finished","style":{"label":true},"nodes":["ef4c148392a71861","5a2ed2d3fdcc9ee1","7b65c6aaa76402e2","c8cba81fee5c8b7b","d860f4264f642734","d04b40f8cf816fc3"],"x":14,"y":359,"w":1142,"h":142},{"id":"dbc9af2f087c5d81","type":"group","z":"d70babf0b4e7045c","name":"(4) - Tumble Dryer is ready, send notifications","style":{"label":true},"nodes":["0354a679f4e86ac6","c79e15d147f8f098","f2fb06ac6e6ed09a","47933214991ea50b","2ba3fe63090fa71d","59b3d2339aa50c7f","d2e1a3ced2275ca6","6ddf513462eabbba","7412eed53af670b3","c3f4a9b6f2217074","02d9054696a19e2c","01df062007221902","8efb995d23eeecbe","4b417124ef74be30","3669d46796f84dfc","bff02d1a33725ce7"],"x":9,"y":519,"w":1277,"h":362},{"id":"c2fc039288c4e74c","type":"group","z":"d70babf0b4e7045c","name":"(5) - When tumble dryer door is opened and the washing program has runned, reset state to Idle","style":{"label":true},"nodes":["3b875ae0c12893ae","52a24d5723b07149","4a35e45ef108436f"],"x":14,"y":899,"w":732,"h":82},{"id":"a653e849e89b8b3a","type":"group","z":"d70babf0b4e7045c","name":"(6) - Pressed on stop button in the app of raising wash ready notifications?","style":{"label":true},"nodes":["b3560ffa00b4bba9","662eb4b7cdf1db91","8c1741eeee137d3d"],"x":14,"y":999,"w":752,"h":82},{"id":"4b417124ef74be30","type":"junction","z":"d70babf0b4e7045c","g":"dbc9af2f087c5d81","x":650,"y":760,"wires":[[]]},{"id":"f1b4434958c4b1eb","type":"server-state-changed","z":"d70babf0b4e7045c","g":"ebdeb25a504beb50","name":"Tumble Dryer Plug; ON","server":"7742f894.e9abc8","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.tumble_dryer_bypass","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"on","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":140,"y":100,"wires":[["c128054b5bf7dabb"],["c2bf45a675132751"]]},{"id":"c128054b5bf7dabb","type":"api-call-service","z":"d70babf0b4e7045c","g":"ebdeb25a504beb50","name":"Tumble Dryer Plug: OFF","server":"7742f894.e9abc8","version":5,"debugenabled":false,"domain":"switch","service":"turn_on","areaId":[],"deviceId":[],"entityId":["switch.plug_laundry_tumble_dryer"],"data":"","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":430,"y":60,"wires":[["05a371a4e06d42c6"]]},{"id":"c2bf45a675132751","type":"api-call-service","z":"d70babf0b4e7045c","g":"ebdeb25a504beb50","name":"Tumble Dryer Plug: OFF","server":"7742f894.e9abc8","version":5,"debugenabled":false,"domain":"switch","service":"turn_off","areaId":[],"deviceId":[],"entityId":["switch.plug_laundry_tumble_dryer"],"data":"","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":430,"y":140,"wires":[["f3303359a98f91c1"]]},{"id":"f3303359a98f91c1","type":"api-render-template","z":"d70babf0b4e7045c","g":"ebdeb25a504beb50","name":"Anouncement","server":"7742f894.e9abc8","version":0,"template":"\n\"Tumble Dryer is now powered Off\"\n","resultsLocation":"payload","resultsLocationType":"msg","templateLocation":"template","templateLocationType":"msg","x":680,"y":140,"wires":[["16ada49fda713724"]]},{"id":"cd443263a621e49d","type":"api-call-service","z":"d70babf0b4e7045c","g":"ebdeb25a504beb50","name":"Alexa - Notification - Laundry","server":"7742f894.e9abc8","version":5,"debugenabled":false,"domain":"notify","service":"alexa_media_laundry","areaId":[],"deviceId":[],"entityId":[],"data":"","dataType":"json","mergeContext":"","mustacheAltTags":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"data"}],"queue":"none","output_location":"payload","output_location_type":"msg","x":1560,"y":100,"wires":[[]]},{"id":"05a371a4e06d42c6","type":"api-render-template","z":"d70babf0b4e7045c","g":"ebdeb25a504beb50","name":"Anouncement","server":"7742f894.e9abc8","version":0,"template":"\n\"Tumble Dryer is now powered On\"\n","resultsLocation":"payload","resultsLocationType":"msg","templateLocation":"template","templateLocationType":"msg","x":680,"y":60,"wires":[["d91a2f64d62ddbb4"]]},{"id":"d91a2f64d62ddbb4","type":"change","z":"d70babf0b4e7045c","g":"ebdeb25a504beb50","name":"Set Alexa Attributes","rules":[{"t":"set","p":"volume","pt":"flow","to":"0.2","tot":"str"},{"t":"set","p":"target","pt":"global","to":"media_player.office_echo_dot","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":880,"y":60,"wires":[["08bbc8efbae28a97"]]},{"id":"16ada49fda713724","type":"change","z":"d70babf0b4e7045c","g":"ebdeb25a504beb50","name":"Set Alexa Attributes","rules":[{"t":"set","p":"volume","pt":"flow","to":"0.2","tot":"str"},{"t":"set","p":"target","pt":"global","to":"media_player.office_echo_dot","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":880,"y":140,"wires":[["19f87bcf152c08b2"]]},{"id":"08bbc8efbae28a97","type":"function","z":"d70babf0b4e7045c","g":"ebdeb25a504beb50","name":"Create Alexa Alert","func":"\nvar target = global.get('target')\nvar message = msg.payload \n\nvar payload = \n{\n \"data\":\n    {\n    \"target\": `${target}`,\n    \"message\": `${message}`\n    }\n}\nmsg.payload = payload\nmsg.topic = `${target}`\nreturn msg","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1090,"y":60,"wires":[["3dfe49dd653d929b"]]},{"id":"19f87bcf152c08b2","type":"function","z":"d70babf0b4e7045c","g":"ebdeb25a504beb50","name":"Create Alexa Alert","func":"\nvar target = global.get('target')\nvar message = msg.payload \n\nvar payload = \n{\n \"data\":\n    {\n    \"target\": `${target}`,\n    \"message\": `${message}`\n    }\n}\nmsg.payload = payload\nmsg.topic = `${target}`\nreturn msg","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1090,"y":140,"wires":[["8473923dfdccf62d"]]},{"id":"3dfe49dd653d929b","type":"template","z":"d70babf0b4e7045c","g":"ebdeb25a504beb50","name":"Alexa device - Template","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{\n\"data\": \n    {\n    \"message\": \"{{ payload.data.message}}\",\n    \"target\": \"{{ payload.data.target }}\",\n    \"data\": {\n        \"type\": \"tts\"\n            }\n    }\n}    ","output":"json","x":1310,"y":60,"wires":[["cd443263a621e49d"]]},{"id":"8473923dfdccf62d","type":"template","z":"d70babf0b4e7045c","g":"ebdeb25a504beb50","name":"Alexa device - Template","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{\n\"data\": \n    {\n    \"message\": \"{{ payload.data.message}}\",\n    \"target\": \"{{ payload.data.target }}\",\n    \"data\": {\n        \"type\": \"tts\"\n            }\n    }\n}    ","output":"json","x":1310,"y":140,"wires":[["cd443263a621e49d"]]},{"id":"0a468116c2c8570f","type":"switch","z":"d70babf0b4e7045c","g":"3f03c686cde6d8c4","name":"Check power","property":"payload","propertyType":"msg","rules":[{"t":"gt","v":"1.0","vt":"num"},{"t":"gt","v":"10","vt":"num"}],"checkall":"true","repair":false,"outputs":2,"x":330,"y":260,"wires":[["5310e628b873fccd"],["b21b8eeebebd7cf6"]]},{"id":"5e8aacdffc98345c","type":"server-state-changed","z":"d70babf0b4e7045c","g":"3f03c686cde6d8c4","name":"Tumble Dryer Power","server":"7742f894.e9abc8","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.plug_laundry_tumble_dryer_power","entityidfiltertype":"exact","outputinitially":true,"state_type":"num","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":130,"y":260,"wires":[["0a468116c2c8570f"]]},{"id":"5310e628b873fccd","type":"api-call-service","z":"d70babf0b4e7045c","g":"3f03c686cde6d8c4","name":"> 1 watt --> Set power state of Tumble Dryer to on","server":"7742f894.e9abc8","version":5,"debugenabled":false,"domain":"input_boolean","service":"turn_on","areaId":[],"deviceId":[],"entityId":["input_boolean.tumble_dryer_on"],"data":"","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":650,"y":240,"wires":[[]]},{"id":"b21b8eeebebd7cf6","type":"api-call-service","z":"d70babf0b4e7045c","g":"3f03c686cde6d8c4","name":"> 10 watt --> Set Tumble Dryer state running","server":"7742f894.e9abc8","version":5,"debugenabled":false,"domain":"input_select","service":"select_option","areaId":[],"deviceId":[],"entityId":["input_select.tumble_dryer_status"],"data":"{\"option\":\"Running\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":630,"y":300,"wires":[[]]},{"id":"ef4c148392a71861","type":"server-state-changed","z":"d70babf0b4e7045c","g":"9f27f87fbcfa4838","name":"Tumble Dryer Power <= 2 for 15 sec?","server":"7742f894.e9abc8","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.plug_laundry_tumble_dryer_power","entityidfiltertype":"exact","outputinitially":true,"state_type":"num","haltifstate":"2","halt_if_type":"num","halt_if_compare":"lte","outputs":2,"output_only_on_state_change":true,"for":"15","forType":"num","forUnits":"seconds","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":190,"y":400,"wires":[["7b65c6aaa76402e2"],[]]},{"id":"5a2ed2d3fdcc9ee1","type":"server-state-changed","z":"d70babf0b4e7045c","g":"9f27f87fbcfa4838","name":"Tumble Dryer Power == 1 for 5 sec?","server":"7742f894.e9abc8","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.plug_laundry_tumble_dryer_power","entityidfiltertype":"exact","outputinitially":true,"state_type":"num","haltifstate":"1","halt_if_type":"num","halt_if_compare":"lte","outputs":2,"output_only_on_state_change":false,"for":"5","forType":"num","forUnits":"seconds","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":180,"y":460,"wires":[["d04b40f8cf816fc3"],[]]},{"id":"7b65c6aaa76402e2","type":"api-current-state","z":"d70babf0b4e7045c","g":"9f27f87fbcfa4838","name":"Has the Tumble Dryer been running?","server":"7742f894.e9abc8","version":3,"outputs":2,"halt_if":"Running","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_select.tumble_dryer_status","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","x":530,"y":400,"wires":[["d860f4264f642734"],[]]},{"id":"c8cba81fee5c8b7b","type":"link out","z":"d70babf0b4e7045c","g":"9f27f87fbcfa4838","name":"Tumble Dryer ready notifications","mode":"link","links":["47933214991ea50b"],"x":1115,"y":400,"wires":[]},{"id":"d860f4264f642734","type":"api-call-service","z":"d70babf0b4e7045c","g":"9f27f87fbcfa4838","name":"Set state to Dry","server":"7742f894.e9abc8","version":5,"debugenabled":false,"domain":"input_select","service":"select_option","areaId":[],"deviceId":[],"entityId":["input_select.tumble_dryer_status"],"data":"{\"option\":\"Dry\"}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":880,"y":400,"wires":[["c8cba81fee5c8b7b"]]},{"id":"d04b40f8cf816fc3","type":"api-call-service","z":"d70babf0b4e7045c","g":"9f27f87fbcfa4838","name":"Set power state of Tumble Dryer to off","server":"7742f894.e9abc8","version":5,"debugenabled":false,"domain":"input_boolean","service":"turn_off","areaId":[],"deviceId":[],"entityId":["input_boolean.tumble_dryer_on"],"data":"","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":530,"y":460,"wires":[["7b65c6aaa76402e2"]]},{"id":"0354a679f4e86ac6","type":"delay","z":"d70babf0b4e7045c","g":"dbc9af2f087c5d81","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"30","rateUnits":"minute","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"allowrate":false,"outputs":1,"x":240,"y":600,"wires":[["2ba3fe63090fa71d"]]},{"id":"c79e15d147f8f098","type":"api-current-state","z":"d70babf0b4e7045c","g":"dbc9af2f087c5d81","name":"Is state Dry?","server":"7742f894.e9abc8","version":3,"outputs":2,"halt_if":"Dry","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_select.tumble_dryer_status","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","x":630,"y":600,"wires":[["3669d46796f84dfc","8efb995d23eeecbe"],["f2fb06ac6e6ed09a"]]},{"id":"f2fb06ac6e6ed09a","type":"change","z":"d70babf0b4e7045c","g":"dbc9af2f087c5d81","name":"Stop","rules":[{"t":"set","p":"payload","pt":"msg","to":"stop","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":500,"y":680,"wires":[["2ba3fe63090fa71d"]]},{"id":"47933214991ea50b","type":"link in","z":"d70babf0b4e7045c","g":"dbc9af2f087c5d81","name":"","links":["c8cba81fee5c8b7b"],"x":50,"y":600,"wires":[["0354a679f4e86ac6"]]},{"id":"2ba3fe63090fa71d","type":"looptimer","z":"d70babf0b4e7045c","g":"dbc9af2f087c5d81","duration":"30","units":"Minute","maxloops":"5","maxtimeout":"1","maxtimeoutunits":"Hour","name":"","x":440,"y":600,"wires":[["c79e15d147f8f098"],[]]},{"id":"59b3d2339aa50c7f","type":"api-render-template","z":"d70babf0b4e7045c","g":"dbc9af2f087c5d81","name":"Anouncement","server":"7742f894.e9abc8","version":0,"template":"\n\"Tumble Dryer is finished\"\n","resultsLocation":"payload","resultsLocationType":"msg","templateLocation":"template","templateLocationType":"msg","x":1180,"y":740,"wires":[["c3f4a9b6f2217074"]]},{"id":"d2e1a3ced2275ca6","type":"api-call-service","z":"d70babf0b4e7045c","g":"dbc9af2f087c5d81","name":"Alexa - Notification - Living Room","server":"7742f894.e9abc8","version":5,"debugenabled":false,"domain":"notify","service":"alexa_media_craig_s_fire_tv_cube","areaId":[],"deviceId":[],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":320,"y":840,"wires":[[]]},{"id":"6ddf513462eabbba","type":"template","z":"d70babf0b4e7045c","g":"dbc9af2f087c5d81","name":"Alexa device - Template","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{\n\"data\": \n    {\n    \"message\": \"{{ payload.data.message}}\",\n    \"target\": \"{{ payload.data.target }}\",\n    \"data\": {\n        \"type\": \"tts\"\n            }\n    }\n}    ","output":"json","x":740,"y":780,"wires":[["01df062007221902","02d9054696a19e2c","d2e1a3ced2275ca6"]]},{"id":"7412eed53af670b3","type":"function","z":"d70babf0b4e7045c","g":"dbc9af2f087c5d81","name":"Create Alexa Alert","func":"\nvar target = global.get('target')\nvar message = msg.payload \n\nvar payload = \n{\n \"data\":\n    {\n    \"target\": `${target}`,\n    \"message\": `${message}`\n    }\n}\nmsg.payload = payload\nmsg.topic = `${target}`\nreturn msg","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":480,"y":780,"wires":[["6ddf513462eabbba"]]},{"id":"c3f4a9b6f2217074","type":"change","z":"d70babf0b4e7045c","g":"dbc9af2f087c5d81","name":"Set Alexa Attributes","rules":[{"t":"set","p":"volume","pt":"flow","to":"0.4","tot":"str"},{"t":"set","p":"target","pt":"global","to":"media_player.office_echo_dot","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":240,"y":780,"wires":[["7412eed53af670b3"]]},{"id":"02d9054696a19e2c","type":"api-call-service","z":"d70babf0b4e7045c","g":"dbc9af2f087c5d81","name":"Alexa - Notification - Bedroom","server":"7742f894.e9abc8","version":5,"debugenabled":false,"domain":"notify","service":"alexa_media_bedroom","areaId":[],"deviceId":[],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":680,"y":840,"wires":[[]]},{"id":"01df062007221902","type":"api-call-service","z":"d70babf0b4e7045c","g":"dbc9af2f087c5d81","name":"Alexa - Notification - Office","server":"7742f894.e9abc8","version":5,"debugenabled":false,"domain":"notify","service":"alexa_media_office_show","areaId":[],"deviceId":[],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1020,"y":840,"wires":[[]]},{"id":"8efb995d23eeecbe","type":"api-call-service","z":"d70babf0b4e7045c","g":"dbc9af2f087c5d81","name":"Tumble Dryer: Turn OFF","server":"7742f894.e9abc8","version":5,"debugenabled":false,"domain":"input_boolean","service":"turn_off","areaId":[],"deviceId":[],"entityId":["input_boolean.tumble_dryer_bypass"],"data":"","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":950,"y":640,"wires":[[]]},{"id":"3669d46796f84dfc","type":"api-call-service","z":"d70babf0b4e7045c","g":"dbc9af2f087c5d81","name":"Send notify - Craig","server":"7742f894.e9abc8","version":5,"debugenabled":false,"domain":"notify","service":"mobile_app_craigs_iphone","areaId":[],"deviceId":[],"entityId":[],"data":"{\"message\":\" The Tumble Dryer is finished\",\"title\":\"Tumble Dryer\",\"data\":{\"actions\":[{\"action\":\"RESET_WAS_READY_MESSAGE\",\"title\":\" Ignore message\"}]}}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":900,"y":560,"wires":[["bff02d1a33725ce7"]]},{"id":"bff02d1a33725ce7","type":"api-call-service","z":"d70babf0b4e7045c","g":"dbc9af2f087c5d81","name":"Send notify - Lizzie","server":"7742f894.e9abc8","version":5,"debugenabled":false,"domain":"notify","service":"mobile_app_lizzie_iphone","areaId":[],"deviceId":[],"entityId":[],"data":"{\"message\":\" The Tumble Dryer is finished\",\"title\":\"Tumble Dryer\",\"data\":{\"actions\":[{\"action\":\"RESET_WAS_READY_MESSAGE\",\"title\":\" Ignore message\"}]}}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1140,"y":560,"wires":[["59b3d2339aa50c7f"]]},{"id":"3b875ae0c12893ae","type":"api-current-state","z":"d70babf0b4e7045c","g":"c2fc039288c4e74c","name":"State is Dry?","server":"7742f894.e9abc8","version":3,"outputs":2,"halt_if":"Dry","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_select.tumble_dryer_status","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","x":410,"y":940,"wires":[["4a35e45ef108436f"],[]]},{"id":"52a24d5723b07149","type":"server-state-changed","z":"d70babf0b4e7045c","g":"c2fc039288c4e74c","name":"Door Tumble Dryer opened?","server":"7742f894.e9abc8","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"binary_sensor.contact_sensor_laundry_tumble_dryer_door_contact","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"on","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":160,"y":940,"wires":[["3b875ae0c12893ae"],[]]},{"id":"4a35e45ef108436f","type":"api-call-service","z":"d70babf0b4e7045c","g":"c2fc039288c4e74c","name":"Set state to Idle","server":"7742f894.e9abc8","version":5,"debugenabled":false,"domain":"input_select","service":"select_option","areaId":[],"deviceId":[],"entityId":["input_select.tumble_dryer_status"],"data":"{\"option\":\"Idle\"}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":640,"y":940,"wires":[[]]},{"id":"b3560ffa00b4bba9","type":"switch","z":"d70babf0b4e7045c","g":"a653e849e89b8b3a","name":"Stop message wash ready?","property":"payload.event.action","propertyType":"msg","rules":[{"t":"eq","v":"RESET_WAS_READY_MESSAGE","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":380,"y":1040,"wires":[["8c1741eeee137d3d"]]},{"id":"662eb4b7cdf1db91","type":"server-events","z":"d70babf0b4e7045c","g":"a653e849e89b8b3a","name":"Notify app action","server":"7742f894.e9abc8","version":2,"eventType":"mobile_app_notification_action","exposeToHomeAssistant":false,"eventData":"","haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"waitForRunning":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"$outputData(\"eventData\").event_type","valueType":"jsonata"}],"event_type":"","x":120,"y":1040,"wires":[["b3560ffa00b4bba9"]]},{"id":"8c1741eeee137d3d","type":"api-call-service","z":"d70babf0b4e7045c","g":"a653e849e89b8b3a","name":"Set state to Idle","server":"7742f894.e9abc8","version":5,"debugenabled":false,"domain":"input_select","service":"select_option","areaId":[],"deviceId":[],"entityId":["input_select.tumble_dryer_status"],"data":"{\"option\":\"Idle\"}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":660,"y":1040,"wires":[[]]},{"id":"7742f894.e9abc8","type":"server","name":"Home Assistant","version":5,"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","enableGlobalContextStore":true}]
1 Like

Depending on where in the flow you check for the power being used by the dryer, you could put a trigger node that waits a minute or so but will reset if the dryer kicks back in. Hope that helps.

I created helper statuses using dropdown for washing machine, dishwasher and oven. Status of machine is updated using automation. To determine status of machine I use contact sensors and smart plug. For now this is working with out any issues. And yes automations are sending announcement on alexa and telegram.

Amazing !!!

Can you share the automation for washing machine