this post was submitted on 23 Mar 2026
208 points (98.1% liked)
homeassistant
18940 readers
13 users here now
Home Assistant is open source home automation that puts local control and privacy first.
Powered by a worldwide community of tinkerers and DIY enthusiasts.
Home Assistant can be self-installed on ProxMox, Raspberry Pi, or even purchased pre-installed: Home Assistant: Installation
Discussion of Home-Assistant adjacent topics is absolutely fine, within reason.
If you're not sure, DM @GreatAlbatross@feddit.uk
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Here is my Automation:
You need to create a 'DateTime' helper called "Last Shower" This is where the last shower time will be stored (and can be changed)
You need a 'Statistics' Helper too. Call it "Average Bathroom Humidity" and base it on whatever humidity sensor you have. Make it "average linear" then set Max Age to 1 hour. (leave other options default)
Make these template sensors too:
Template Binary Sensor called "Showering":
{{ (states('sensor.bathroom_sensor_humidity')|float - states('sensor.average_bathroom_humidity')|float) > 9 }}Template Sensor called "Time Since Last Shower":
Let me know if you hit any snags!