Running a compressor such as a refrigerator with short off-times causes significant wear and tear on the compressor and is the quickest way to destroy it. Add a 'minimum_off_time' key to allow the user to set the value to ensure that the compressor stays off that long between cycles. Keep track of the off time in software, and ideally across restarts, either with a local state file or by storing that state in a datasource.
Running a compressor such as a refrigerator with short off-times causes significant wear and tear on the compressor and is the quickest way to destroy it. Add a 'minimum_off_time' key to allow the user to set the value to ensure that the compressor stays off that long between cycles. Keep track of the off time in software, and ideally across restarts, either with a local state file or by storing that state in a datasource.