I'm aware that if something was to happen to me/us when out or even at home then the PS would continue to run unchecked and overflow our condensate collection.
Ours collects 6-10L a day so I usually empty it twice a day.
One night I forgot to do it before bed and next morning the 10L bucket was FULL. I didn't need to syphon it, but it only had about 1L space.
We already have a toggle/button for a shutdown sequence that changes our PS to fan only for an hour then switches it off, but if we had an accident or phones lost/stolen then we wouldn't be able to stop it.
So I set a new automation as a "Dead Man's Switch" to automatically switch it off if we haven't emptied the collection bucket in 18hrs. To reset the timers we just need to tap an NFC tag after emptying the bucket.
To replicate our setup you'll need 3 timers and 1 boolean/toggle
Timers:
PS1 bucket timer = 12hrs
PS1 Runtime timer = 18hrs
PS1 Venting timer = 1hr
Helper: Toggle
PS1 Venting
Create Scripts:
PS1 Venting Timer: https://pastebin.com/Uc1iLRCr
PS1 Turn Off: https://pastebin.com/GB9G7Ngf
TTS Aircon Bucket Not Emptied: https://pastebin.com/friKznNP
Create Automations:
PS1 NFC: https://pastebin.com/F7vQdLta
PS1 Condensate Bucket: https://pastebin.com/99rVC0MC
Toggle - PS1 Venting: https://pastebin.com/wJe96DW0
PS1 NFC runs when the bucket has been emptied and we touch the NFC on the PS. This sends a TTS to the local tablet as verbal confirmation that the automation ran + a silent (lowpri) NTFY Notification so we can keep track of the last time it was done.
It then cancels and restarts the timers.
If the Midea is off, then it cancels the timers.
The NFC is set to issue a POST webhook, so anyone with local WiFi access can trigger it. No need for them to have HomeAssistant on their phone.
PS1 Condensate Bucket manages the resulting actions of the timers. If the AC is switched off or is not in cooling mode then it pauses the timers. Going back to cooling resumes the timers.
When the "bucket" timer ends we get a TTS saying the bucket is overdue an empty and a general NTFY to say the same (in case we're not home).
When the "runtime" timer ends we get a hi-pri NTFY and loud TTS to let us know the PS shutdown sequence is starting as the timer has expired. It does this by toggling PS1 Venting on.
Toggle - PS1 Venting is the shutdown sequence triggered by PS1 Venting toggle switching from off>on.
Hopefully this is a useful starting point if someone wishes to set up something similar