0 Followers
0 Following
8 Posts
I just got tested myself so I might be in the same boat! Waiting to get the results

Here is my Automation:

alias: Update Last Shower Time description: "" triggers: - entity_id: binary_sensor.showering from: "on" to: "off" trigger: state actions: - data: datetime: "{{ now() }}" action: input_datetime.set_datetime target: entity_id: input_datetime.last_shower

You also need to create an ‘Input DateTime’ helper called “Last Shower” This is where the last shower time will be stored (and can be changed)

Make these 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”:

% set diff = now() - as_datetime(states('input_datetime.last_shower')).astimezone() %} {% set days = diff.days %} {% set hours = (diff.seconds // 3600) %} {% if days > 0 %} {{ days }} day{{ 's' if days > 1 }} {{ hours }} hour{{ 's' if hours != 1 }} {% else %} {{ hours }} hour{{ 's' if hours != 1 }} {% endif %}

Let me know if you hit any snags!

I already felt this urge to get the “high score” LOL
thats the goal! It’s a glass door though, does that matter?
I’m about to go into my attic and find out!
i dont have a way to see if the fan is on currently. but it gets around natural humidity swings by comparing it to the 1hour average.
that means if it creeps up to 70% humidity, it wont think im in the shower until it hits 78%. It has to be a sudden change because of this logic
pro tip for texas summers: dont go outside :)
weather has been all over the place lately
I’d like to do the same eventually. I rent though so it would have to be reversible
I agree, my skin does too