🚿 Bathroom Humidity Exhaust Fan

Sorry I’m not too smart with this stuff…how would I set this up to turn on the fan automatically, but when the fan switch is manually turned off (wife does it out of habit), it stays off (automation does not trigger again when humidity is still above threshold)? I would use fan switch for manual switch as well. Thanks!

@pdawg17

You would have to use the bypass option 2 and have a switch to turn the bypass ON. This will turn the fan OFF and will not allow the automation to run.

Blacky :smiley:

Thanks for the manual fan switch addition. It seems to be working well so far and I want to add this template to different fan automation. Obviously I will change the entity id, but what about the id: "t1" ? Do I need to change to t2 for example?

@Woodcat64

I provide support only for my specific blueprints in each topic. I kindly ask that we stay focused on this blueprint and avoid discussing or asking about other automations in this thread. Thank you for your cooperation!

Blacky :smiley:

1 Like

Sorry if I was not clear. I’m indeed talking about this blueprint. My question is about the template you create to use with the manual switch option https://community.home-assistant.io/t/bathroom-humidity-exhaust-fan/509992/496

I have set this up in one bathroom and it’s working well. Now I want to use it in second bathroom.

My question is about this id: "t1", do I need to rename it? or is this ok to use in the template for the second bathroom.

@Woodcat64

O okay, thanks for clarifying it for me.

Here are the things you’ll need to change so they differ from your last setup:

  • switch.your_fan_switch_id_here: This should be a different fan from your previous one.
  • Manual Fan Switch: This should be a new entity name. Home Assistant will create a unique entity ID based on the name you enter, so make sure it’s different from the other one.

“t1” can remain the same as last time.

Hope this helps you!

Blacky :smiley:

This is a very long thread so it might have been answered already, but is it possible to create this template through the GUI using the helpers?

Not yet available in the UI. Have a look here:

@mdb17

Assume you are talking about this template binary sensor here

If so the answer is no. It is a trigger based binary sensor and HA have not developed the UI helper for trigger templates yet.

Blacky :smiley:

1 Like

I wasn’t seeing a way but knew they improved that side of things a lot lately so figured it didn’t hurt to ask and see if I have missed it.

Yeah it would be nice if Home Assistant add the ability to also have a trigger template helper. Maybe someone reading this will spark something :crossed_fingers:

Blacky :smiley:

I am having a little problem with the manual switch with auto off. I set up the initial automation and tested it and it functions with no problems. I added the code to the yaml config file and it created the manual fan entity. I set the timer to 1 minute to test and pushed the button on the physical switch to test. It showed the manual fan switch as on in HA but it did not turn off after the minute. I am sure it is a user error. I also noticed when I go to the helper created in HA for the manual switch it say the settings cannot be managed.





I am also getting this error too.

I seem to have gotten everything working but I am still getting one warning error. Any thoughts?

@Honkykong7777

Lest go through it all.

Your first post.

  1. You can’t edit a template sensor in the UI. You must edit in the config file (in YAML).
  2. You need to select option 2 in the blueprint if you would like to use the auto off.

For the errors could you please provide us your YAML of the automation? This YAML code are the settings you have selected in the automation so I can help. To do this go into your automation, top right 3 dots, Edit in YAML, copy all the code, come back to the forum and in your reply at the top tool bar click on “</>” and paste code in there.

Also try putting your Manual Master Bath Humidity Fan Switch in a dashboard and see what happens when you manually turn ON and OFF the physical switch.

Blacky :smiley:

I also get this error for the manual switch but have just ignored it so far.

I seem to have fixed everything but the errors. Here is the yaml as requested alias:%20Master%20Bath%20Exhaust%0Adescription%3A%20%22%22%0Ause_blueprint%3A%0A%20%20path%3A%20Blackshome/bathroom-humidity-exhaust-fan.yaml%0A%20%20input:%0A%20%20%20%20trigger:%20sensor.master_bath_humidity_derivative%0A%20%20%20%20bathroom_humidity_sensor:%20sensor.humidity_switch_aht2x_humidity%0A%20%20%20%20fan_switch:%0A%20%20%20%20%20%20device_id:%20e8ab125e51b70b5225f3b205e89535f1%0A%20%20%20%20include_manual_fan_switch:%20enable_manual_fan_switch_auto_off%0A%20%20%20%20time_out:%2030%0A%20%20%20%20winter_time_out:%2030%0A%20%20%20%20manual_fan_switch:%0A%20%20%20%20%20%20-%20binary_sensor.manual_master_bath_humidity_fan_switch%0A%20%20%20%20manual_fan_switch_time_delay:%2015%0A


alias:%20Master%20Bath%20Exhaust%0Adescription%3A%20%22%22%0Ause_blueprint%3A%0A%20%20path%3A%20Blackshome/bathroom-humidity-exhaust-fan.yaml%0A%20%20input:%0A%20%20%20%20trigger:%20sensor.master_bath_humidity_derivative%0A%20%20%20%20bathroom_humidity_sensor:%20sensor.humidity_switch_aht2x_humidity%0A%20%20%20%20fan_switch:%0A%20%20%20%20%20%20device_id:%20e8ab125e51b70b5225f3b205e89535f1%0A%20%20%20%20include_manual_fan_switch:%20enable_manual_fan_switch_auto_off%0A%20%20%20%20time_out:%2030%0A%20%20%20%20winter_time_out:%2030%0A%20%20%20%20manual_fan_switch:%0A%20%20%20%20%20%20-%20binary_sensor.manual_master_bath_humidity_fan_switch%0A%20%20%20%20manual_fan_switch_time_delay:%2015%0A

@GTunney & @Honkykong7777

I will have to look at this in detail and see what can be done if any and what are the implications it may have. It is on my list to do.

Blacky :smiley:

2 Likes