🚽 Toilet Exhaust Fan - Time Delay - Trigger Wait Time - Time

New update 2.1

New Features :new:

  • Manual Fan Switch Option - This feature enables manual control of the fan, allowing you to turn it ON or OFF independently. The auto off option may assist you to never overlook turning the fan OFF or can also serve as a manual timer.

    NOTE - Please note that the manual fan switch entity cannot be connected to either your actual fan switch or the trigger. It must function as a completely independent switch; otherwise, the automation will not operate.

  • Global Conditions - You can now enter any global conditions you would like to apply to the automation.

Maintenance :toolbox:

  • Rebuild HA restart option.
  • Cleaned up conditions.
  • Changed some descriptions wording.

Bugs Fixes :bug:

  • Fixed bugs in inverted trigger by-pass.
  • Fixed bugs in inverted trigger operation.
  • Fixed bug in by-pass if entity was entered and option was disabled.

If you like this blueprint? Consider hitting the :heart: button in the top post :+1:

If you like my blueprints, and would like to show your support or just say thank you? Click Here :smiling_face_with_three_hearts:

Enjoy

Blacky :grinning:

New update 2.2

Maintenance :toolbox:

  • Update logic on manual fan switch.

If you like my blueprints, and would like to show your support or just say thank you? Click Here :smiling_face_with_three_hearts:

Enjoy

Blacky :grinning:

New update 2.3

Added Logic :gear:

  • Manual fan switch can now force fan ON when using the “Trigger Wait Option” and the trigger is ON.

If you like my blueprints, and would like to show your support or just say thank you? Click Here :smiling_face_with_three_hearts:

Enjoy

Blacky :grinning:

Your blueprints are EXCELLENT - thanks so much for the huge amount of time that it takes to write and maintain these, I know it’s a lot of effort. MUCH appreciated!

I came here to ask if this blueprint could be used with the Bathroom Humidity Exhaust Fan and I see you have already addressed that :slight_smile: I will have a look and see if I can get both working together.

I did actually start out configuring the Bathroom Humidity Exhaust Fan blueprint but as my lights and the fan I use are all on a Philips Hue network, I couldn’t see the devices needed. Maybe that’s a config option on the Hue integration that I still need to do? I used to use HA for a few years but since moving have only just re-built and installed it on a Pi 4.

Thanks.

You can use all three, toilet, bathroom and sensor light… they will all work together and I can recall helping another community member. Click here and follow this conversation.

Blacky :smiley:

1 Like

New update 2.4

Bugs Fixes :bug:

  • Fixed bugs when by-pass turns OFF.

If you like this blueprint? Consider hitting the :heart: button in the top post :+1:

If you like my blueprints, and would like to show your support or just say thank you? Click Here :smiling_face_with_three_hearts:

Enjoy

Blacky :grinning:

FAQ - How to link the Toilet Exhaust Fan Blueprint With Bathroom Humidity Exhaust Fan Blueprint

  1. First you must create a toggle helper. Go to Settings / Devices & Services / click on the Helpers tab / click Create Helper / and select Toggle

    Then input the name you would like to call the toggle helper and select an icon if you like and click create.

    4

  2. Now you have a toggle helper that we can use in both automations. Once you created both automations using the blueprints we then can add the link between the two.

  3. Go into the Bathroom Humidity Exhaust Fan automation. In the “Fan Switch” we will add the toggle helper we just created. Then click save.

  4. Go into the Toilet Exhaust Fan automation. In the by-pass section we will enable option 3 and add the toggle helper into “By-pass Switch - Keep The Fan Current State”. When using this option we can’t enable the auto OFF feature as the Bathroom Humidity Exhaust Fan automation will be controlling it.

    Then down the bottom make sure the HA Restart Option is disabled as the Bathroom Humidity Exhaust Fan automation already has a built in HA restart option and is why this one is optional so we can disable it when linking the two. Once done click save.

Your automations will now be linked giving priority to the Bathroom Humidity Exhaust Fan automation.

Enjoy

Blacky :smiley:

Back to the FAQ Click Here

Hi, Apologies for basic questions (HA noob here). I have a bathroom light and bathroom fan that I’m using this blueprint on. I’d like to add the manual fan switch option but am confused on how to set it up. How do I make a manual fan switch entity that’s not connected ot the actual fan but will also trigger the fan?

Thanks

@pinkchry

Welcome to the community.

You can create a toggle hepper if you like or there are many different ways to add a manual wall switch so I will show you the toggle helper and if you would like a manual wall switch is is just like any other switch into HA but connected to nothing… just need the state change.

  1. Go to Settings > Devices & Services > click on the “Helpers” tab / click “+ CREATE HELPER” and select “Toggle”.

  2. Add your name. You can also add an icon if you like and click create.

  3. Add it into the ‘Manual Fan Switch’.

Blacky :smiley:

Thanks for the reply. I’m not sure if I’m doing something wrong. Here’s what I want to happen. I have two physical swtiches (each for the fan and the light). The light automation works perfect. What I’d like is to be able to turn on the fan switch and have it run for a bit and turn off automatically. Would that scenario work with the manual fan switch feature?

Yes but the switch can be the same switch that controls the fan. Try it will a toggle helper and you can see how it works. Setting below shows the fan to run for 5 min.

Blacky :smiley:

I tried adding the Helper as the Manual Fan Switch and turning on the actual fan switch does not seem to trigger the auto off. To be explicit here are my settings

Downstairs Bathroom lights is the switch that turns on the lights. Downstairs Bathroom Fan is the switch that turns on the fan. And Down Bathroom Helper is the Toggle Helper. In this case, turning on the fan using the Downstairs Bathroom Fan does not trigger the auto off.

@pinkchry

Just tested it here and all is working. Note your bathroom light must be OFF. You don’t turn the fan ON you turn the toggle helper ON. When you turn the toggle helper ON it will turn the fan ON and then OFF in the auto OFF time delay.

Blacky :smiley:

Yeah. That’s the problem. I wanted the fan to turn on using the switch because that’s what all the rest of the family uses. It does work with turning it on via the toggle helper.

@pinkchry

The problem you have is if the automation turns ON the fan it is the same as turning ON the switch. It is the same entity. So if you use the switch for the manual fan then every time the fan is turned ON with the automation it turns ON the manual switch. Hope you can see the conflict. So the manual switch must be totally independent.

So what you can do is get a Shelly 2PM and use one contact for the fan and the other for the manual switch. Wire the manual switch to the switch on the wall not the fan.

Blacky :smiley:

Ok. So my switches are from hubitat and it added a switch to fan helper “Change device type of switch”). I can use that for the automation and it works as now there are two entities that control the fan. Haven’t figured out how to make such a helper myself but that sounds like a possible workaround

@pinkchry

Nice one, glad you are up and running.

Blacky :smiley:

@Blacky

Great automation - thank you so much. I’m seeing a weird edge case. I’ve got two switches, both wired separately to Shellys - light, fan. Also have a zigbee motion sensor.

If I just set up the motion sensor → fan, it all works fine, turns on, turns off. What I’d like to do is add the light switch as the ‘manual fan switch’. First problem - it’s a light, not a switch - so I added a template switch that is just based on the value of the light.

I add that into the ‘manual fan switch’ and it works if I don’t trigger the motion sensor. I can turn on the light, the fan turns on, I can turn off the light, the fan turns off. However, if the light is off, and I enter the bathroom, triggering the motion sensor, then I turn the light on manually, then turn it off again, the fan remain on - and never turns off.

Any tips?
Thanks,
Cemil

@cemil

I have just tested it here again and it works perfectly. I Had

  • Motion as the Trigger Sensor
  • Fan in fan
  • Light in Manual Fan Switch

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.

Blacky :smiley:

Hi @blacky,

alias: Downstairs Bathroom Exhaust Fan
description: ""
use_blueprint:
  path: Blackshome/toilet-exhaust-fan.yaml
  input:
    entity_trigger: binary_sensor.lumi_lumi_sensor_motion_aq2_motion
    fan_switch: switch.downstairs_bathroom_fan
    time_delay: 1
    include_manual_fan_switch: enable_manual_fan_switch
    manual_fan_switch: switch.downstairs_bathroom_light_fake_switch
    manual_fan_switch_time_delay: 0

YAML there. Also failure condition.

Thank you for helping debug! How can I help?