After starting to write this, I did some clean up and ended up with this, which as far as I can tell appears to actually be working correctly. (not fully tested yet)
And finally the device log, which apparently was just screwing me up. The homekit commands make sense for using a percentage, but the level 128 was confusing me.
@Blacky
I donât understanding the difference between the âAuto Mode Control Entityâ and the âTrigger Sensor By-passâ options. Letâs assume a helper control is added for use with the âAuto Mode Control Entityâ. When this helper is turned off, the fan wouldnât automatically start. In other words the temperature sensor is disabled or bypassed.
Whatâs the purpose of the âTrigger Sensor By-passâ if the âAuto Mode Control Entityâ is already in use?
Auto Mode Control Entity is basically an Auto / Manual switch. When in Auto Mode the automation can run. Or it is just enable or disable.
Trigger Sensor By-pass Option When in auto mode you can then decide to turn the fan ON / OFF / Keep the current state. You may want to force it into one of these states and maybe another automation controls it. Just gives you more advance options.
Letâs assume the fan is running and the âAuto Mode Controlâ is set to Auto. Now lets use the âTrigger Sensor By-passâ in an automation to turn the fan off. Wonât the fan turn on again the next time the âHeartbeatâ triggers?
No, maybe think of it as enabled or disabled. Because it is a ceiling fan type of blueprint I wanted a toggle in the UI to turn ON auto mode. This way in summer we can choose when we would like the fans to run. If you have an A/C and you turn it ON you can use the bypass to stop the ceiling fans even if it is in auto mode. Then when you turn the A/C OFF your ceiling fans will work.
@Blacky Is there any provision or hacky way to use this with IR fans? My IR fan takes speed input from 1 to 5 which I can fire with broadlink IR blaster, but the blueprint canât take this as âremoteâ is not a fan entity in HA.
Any thoughts or clue?
I was able to use SmartIR integration that maps IR blaster based devices as fan and now I can see this blueprint is firing IR blaster to adjust the fan speed.
I have to ceiling fans, they are almost the same. Both integrated via localtuya. The behavior tends to differ between both.
One of them is working perfect with this blueprint, but the other doesnât switch on when only using fan.set_percentage, it needs also a fan.turn_on action.
So I added this in the sequence at âSet fan percentage when first turn ONâ:
Wanted to use this blueprint to trigger a fan (via a philips hue plug) to switch on/off depending upon temperature. However, Philips Hue plug neither appears in list of devices or entities. Is there a reason for this?
When I try to create a helper to change type I get an error as the entity is showing as a light, which sort of makes sense as it is a Philips Hue plug but it wonât allow the helper to be created unfortunately.
First can you copy and paste your Philips Hue pug into the input and see if that works.
If not
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.