I have a laundry automation flow that works quite nicely. It currently announces via google translate when the washing machine is done. I’d like to repeat this announcement every 10 minutes until either the contact sensor on the door is open or until the input boolean disable_washing_machine_notification is on. I’d appreciate any suggestions.
[{"id":"ebb0f8c6.337ab8","type":"tab","label":"Appliances","disabled":false,"info":""},{"id":"f8417a02.b81d08","type":"api-current-state","z":"ebb0f8c6.337ab8","name":"Washer Status","server":"6a4a397b.bae638","version":3,"outputs":2,"halt_if":"Running","halt_if_type":"str","halt_if_compare":"is_not","entity_id":"input_select.washing_machine_status","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"for":0,"forType":"num","forUnits":"minutes","x":680,"y":100,"wires":[["cb186e0a.b8ea7"],[]]},{"id":"cb186e0a.b8ea7","type":"switch","z":"ebb0f8c6.337ab8","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"Idle","vt":"str"},{"t":"eq","v":"Clean","vt":"str"},{"t":"eq","v":"Finishing","vt":"str"}],"checkall":"true","repair":false,"outputs":3,"x":970,"y":100,"wires":[["cc9d8bff.bc6f48"],["cc9d8bff.bc6f48"],["cc9d8bff.bc6f48"]]},{"id":"cc9d8bff.bc6f48","type":"api-call-service","z":"ebb0f8c6.337ab8","name":"Washer Running","server":"6a4a397b.bae638","version":3,"debugenabled":false,"service_domain":"input_select","service":"select_option","entityId":"input_select.washing_machine_status","data":"{\"option\":\"Running\"}","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"data"}],"queue":"none","x":1190,"y":100,"wires":[["d7ffc5898c2694ed"]]},{"id":"ad605156.1e0e5","type":"api-current-state","z":"ebb0f8c6.337ab8","name":"Washer Status","server":"6a4a397b.bae638","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_select.washing_machine_status","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"for":0,"forType":"num","forUnits":"minutes","x":680,"y":260,"wires":[["2ac80e97.4101c2"]]},{"id":"2ac80e97.4101c2","type":"switch","z":"ebb0f8c6.337ab8","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"Running","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":970,"y":260,"wires":[["74d3f66.697ec08"]]},{"id":"9087f74c.11cc88","type":"trigger-state","z":"ebb0f8c6.337ab8","name":"Washer Set to Clean","server":"6a4a397b.bae638","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityid":"input_select.washing_machine_status","entityidfiltertype":"exact","debugenabled":false,"constraints":[{"targetType":"this_entity","targetValue":"","propertyType":"current_state","comparatorType":"is","comparatorValueDatatype":"str","comparatorValue":"Finishing","propertyValue":"new_state.state"}],"inputs":1,"outputs":2,"customoutputs":[],"outputinitially":false,"enableInput":true,"x":160,"y":400,"wires":[["d96d414d.37ed8"],[]]},{"id":"ce794c82.f1f15","type":"switch","z":"ebb0f8c6.337ab8","name":"Finishing","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"Finishing","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":980,"y":400,"wires":[["ee7ace39.006ea"]]},{"id":"5b34e150.e7238","type":"comment","z":"ebb0f8c6.337ab8","name":"Washing Machine","info":"","x":150,"y":80,"wires":[]},{"id":"e7442229.14e54","type":"api-current-state","z":"ebb0f8c6.337ab8","name":"Washing Still in Machine","server":"6a4a397b.bae638","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_select.washing_machine_status","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"for":0,"forType":"num","forUnits":"minutes","x":570,"y":960,"wires":[["10b5c2c0.ee1d1d"]]},{"id":"10b5c2c0.ee1d1d","type":"switch","z":"ebb0f8c6.337ab8","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"Clean","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":810,"y":960,"wires":[["7847c0e5.61f56"]]},{"id":"afeea447.8263c8","type":"server-state-changed","z":"ebb0f8c6.337ab8","name":"Washer Set to Active","server":"6a4a397b.bae638","version":3,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.washing_machine_electric_consumption_w","entityidfiltertype":"substring","outputinitially":false,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":false,"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":150,"y":180,"wires":[["a9c888c1.667158"]]},{"id":"a182d7f2.54fe38","type":"trigger-state","z":"ebb0f8c6.337ab8","name":"Time","server":"6a4a397b.bae638","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityid":"sensor.time","entityidfiltertype":"exact","debugenabled":false,"constraints":[],"inputs":1,"outputs":2,"customoutputs":[],"outputinitially":false,"enableInput":true,"x":110,"y":960,"wires":[["98d75922.d2e068"],[]]},{"id":"98d75922.d2e068","type":"switch","z":"ebb0f8c6.337ab8","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"20:45","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":310,"y":960,"wires":[["e7442229.14e54"]]},{"id":"deda75cf.40f4a8","type":"api-current-state","z":"ebb0f8c6.337ab8","name":"Washer Status","server":"6a4a397b.bae638","version":3,"outputs":2,"halt_if":"Running","halt_if_type":"str","halt_if_compare":"is_not","entity_id":"input_select.washing_machine_status","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"for":0,"forType":"num","forUnits":"minutes","x":680,"y":400,"wires":[["ce794c82.f1f15"],[]]},{"id":"47894a03.c10264","type":"switch","z":"ebb0f8c6.337ab8","name":"Washer Door State","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"off","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":690,"y":540,"wires":[["c68714dd.ef6ee8"]]},{"id":"2d49e569.07e24a","type":"trigger-state","z":"ebb0f8c6.337ab8","name":"Washer Notify Finish","server":"6a4a397b.bae638","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityid":"input_select.washing_machine_status","entityidfiltertype":"exact","debugenabled":false,"constraints":[{"targetType":"this_entity","targetValue":"","propertyType":"current_state","comparatorType":"is","comparatorValueDatatype":"str","comparatorValue":"Clean","propertyValue":"new_state.state"}],"inputs":1,"outputs":2,"customoutputs":[],"outputinitially":false,"enableInput":true,"x":160,"y":540,"wires":[["d9937566.ce4b48"],[]]},{"id":"d9937566.ce4b48","type":"api-current-state","z":"ebb0f8c6.337ab8","name":"Washer Status","server":"6a4a397b.bae638","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"binary_sensor.washing_machine_door_ias_zone","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"for":0,"forType":"num","forUnits":"minutes","x":420,"y":540,"wires":[["47894a03.c10264"]]},{"id":"856fe8e3.e49578","type":"api-call-service","z":"ebb0f8c6.337ab8","name":"Washer Idle","server":"6a4a397b.bae638","version":3,"debugenabled":false,"service_domain":"input_select","service":"select_option","entityId":"input_select.washing_machine_status","data":"{\"option\":\"Idle\"}","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"data"}],"queue":"none","x":410,"y":760,"wires":[["8e6255a5.af6a98"]]},{"id":"8e6255a5.af6a98","type":"api-call-service","z":"ebb0f8c6.337ab8","name":"Notify Off","server":"6a4a397b.bae638","version":3,"debugenabled":false,"service_domain":"input_boolean","service":"turn_off","entityId":"input_boolean.disable_washing_machine_notification","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"data"}],"queue":"none","x":600,"y":720,"wires":[[]]},{"id":"c68714dd.ef6ee8","type":"api-current-state","z":"ebb0f8c6.337ab8","name":"Washer Status","server":"6a4a397b.bae638","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_boolean.disable_washing_machine_notification","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"for":0,"forType":"num","forUnits":"minutes","x":940,"y":540,"wires":[["40b5ff40.da355"]]},{"id":"40b5ff40.da355","type":"switch","z":"ebb0f8c6.337ab8","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"off","vt":"str"},{"t":"eq","v":"on","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":1110,"y":540,"wires":[["6140564f8e12aa86"],[]]},{"id":"74d3f66.697ec08","type":"api-call-service","z":"ebb0f8c6.337ab8","name":"Washer Finishing","server":"6a4a397b.bae638","version":3,"debugenabled":false,"service_domain":"input_select","service":"select_option","entityId":"input_select.washing_machine_status","data":"{\"option\":\"Finishing\"}","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"data"}],"queue":"none","x":1190,"y":260,"wires":[[]]},{"id":"ee7ace39.006ea","type":"api-call-service","z":"ebb0f8c6.337ab8","name":"Washer Clean","server":"6a4a397b.bae638","version":3,"debugenabled":false,"service_domain":"input_select","service":"select_option","entityId":"input_select.washing_machine_status","data":"{\"option\":\"Clean\"}","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"data"}],"queue":"none","x":1220,"y":400,"wires":[["59c73e4bf3879785"]]},{"id":"101631f3.3351de","type":"api-call-service","z":"ebb0f8c6.337ab8","name":"Washer Idle","server":"6a4a397b.bae638","version":3,"debugenabled":false,"service_domain":"input_select","service":"select_option","entityId":"input_select.washing_machine_status","data":"{\"option\":\"Idle\"}","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"data"}],"queue":"none","x":410,"y":840,"wires":[["dfaa6036d4f2de31"]]},{"id":"7847c0e5.61f56","type":"api-call-service","z":"ebb0f8c6.337ab8","name":"TTS","server":"6a4a397b.bae638","version":3,"debugenabled":false,"service_domain":"tts","service":"google_translate_say","entityId":"media_player.kitchen_display","data":"{\"message\":\"If you don't wan't stinky clothes I suggest you empty the Washing Machine before heading up to bed\"}","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"data"}],"queue":"none","x":990,"y":940,"wires":[[]]},{"id":"53fc7d5a.26e234","type":"trigger-state","z":"ebb0f8c6.337ab8","name":"Washer Set to Idle","server":"6a4a397b.bae638","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityid":"binary_sensor.washing_machine_door_ias_zone","entityidfiltertype":"exact","debugenabled":false,"constraints":[{"targetType":"this_entity","targetValue":"","propertyType":"current_state","comparatorType":"is","comparatorValueDatatype":"str","comparatorValue":"on","propertyValue":"new_state.state"}],"inputs":1,"outputs":2,"customoutputs":[],"outputinitially":false,"enableInput":true,"x":130,"y":820,"wires":[["856fe8e3.e49578","101631f3.3351de"],[]]},{"id":"a9c888c1.667158","type":"switch","z":"ebb0f8c6.337ab8","name":"Load Power State","property":"payload","propertyType":"msg","rules":[{"t":"gt","v":"10","vt":"str"},{"t":"eq","v":"0.0","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":430,"y":180,"wires":[["f8417a02.b81d08"],["ad605156.1e0e5"]]},{"id":"d96d414d.37ed8","type":"stoptimer","z":"ebb0f8c6.337ab8","duration":"60","units":"Second","payloadtype":"num","payloadval":"0","name":"1min","x":430,"y":400,"wires":[["deda75cf.40f4a8"],[]]},{"id":"db1b896b.d03e98","type":"api-call-service","z":"ebb0f8c6.337ab8","name":"TTS","server":"6a4a397b.bae638","version":3,"debugenabled":false,"service_domain":"tts","service":"google_translate_say","entityId":"media_player.alerts","data":"{\"message\":\"The washing machine has finished and is ready to be emptied\"}","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"data"}],"queue":"none","x":1350,"y":620,"wires":[[]]},{"id":"263fee5b.3e6d82","type":"api-call-service","z":"ebb0f8c6.337ab8","name":"Notify On","server":"6a4a397b.bae638","version":3,"debugenabled":false,"service_domain":"input_boolean","service":"turn_on","entityId":"input_boolean.disable_washing_machine_notification","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"data"}],"queue":"none","x":1340,"y":540,"wires":[[]]},{"id":"6140564f8e12aa86","type":"api-current-state","z":"ebb0f8c6.337ab8","name":"Time of Day","server":"6a4a397b.bae638","version":3,"outputs":2,"halt_if":"Night","halt_if_type":"str","halt_if_compare":"is_not","entity_id":"input_select.time_of_day","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":1170,"y":620,"wires":[["263fee5b.3e6d82","db1b896b.d03e98"],[]]},{"id":"d7ffc5898c2694ed","type":"api-call-service","z":"ebb0f8c6.337ab8","name":"","server":"6a4a397b.bae638","version":3,"debugenabled":false,"service_domain":"zwave_js","service":"set_config_parameter","entityId":"light.kitchen_lights","data":"{\t \"parameter\": 21,\t \"value\": 2\t}","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1510,"y":100,"wires":[[]]},{"id":"59c73e4bf3879785","type":"api-call-service","z":"ebb0f8c6.337ab8","name":"","server":"6a4a397b.bae638","version":3,"debugenabled":false,"service_domain":"zwave_js","service":"set_config_parameter","entityId":"light.kitchen_lights","data":"{\t \"parameter\": 31,\t \"bitmask\": 1,\t \"value\": 1\t}","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1490,"y":400,"wires":[[]]},{"id":"dfaa6036d4f2de31","type":"api-call-service","z":"ebb0f8c6.337ab8","name":"","server":"6a4a397b.bae638","version":3,"debugenabled":false,"service_domain":"zwave_js","service":"set_config_parameter","entityId":"light.kitchen_lights","data":"{\t \"parameter\": 21,\t \"value\": 0\t}","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":670,"y":840,"wires":[[]]},{"id":"6a4a397b.bae638","type":"server","name":"Home Assistant","version":1,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]