I roughly followed this approach: https://community.home-assistant.io/t/clothes-dryer-automati.... It worked surprisingly well, but the battery died in the sensor and I guess I didn't see enough value in getting the notifications so I never bothered changing it.