Hello, i am completely new to Home Assistant, and need some help with making an automation
What i am trying to create is a temperature control for my 3D printer enclosure, i have a hue motion sensor as the temperatur sensor and i will have a hue smart plug to turn on a fan but for now its just gonna be a light, the target temperature i want to be able to just set with a slider in the home assistant dashboard, i’ve already created the number helper, but i cannot get the automation to work i’ve tried googling stuff with no result.
How im trying to have it work: You select a temperature using the dashboard slider, then if the temperature is ABOVE the target temperatur it needs to turn on a smart plug. then when the temperatur drops down to below the target temperatur it turns the fan off
So basiclly i just need this automation but have the slider/number helpers value to be the value in the above field when doing the automation with UI
Some info:
In blue is the number helper info
In red is the silder on the dashboard
In green is the infomation on the motion sensor atributes
I can’t get your script to work, it won’t trigger, so i started using “sensor.hue_motion_sensor_1_illuminance” instead of “sensor.hue_motion_sensor_1_temperature” so i could test it faster with just putting my hand over it and still doesnt want to trigger
@123 Im sorry it wasnt a requirement but after what @aceindy said it made sense so the fan doesnt switch on and off really quickly and will have a little buffer of sorts