I have 2 humidifiers in my house. I would like to set a a humidity using a slider , and based on this slider to change the mode of both of this humidifiers separately.
For example: If I set the humidity to 60% and one of this humidifiers is 80% - change mode to laundry. If its below 60% - change mode to purify.
I’ve already set the helper as input number:
input_number.humidifiers_target_humidity
My humidifier are:
humidifier.purifyer_d14
humidifier.purifyer_d22
Both of them display their humidity using attribute called current_humidity.
I would like to set this up using the UI . I’ve tried various ways using template condition but I can’t seem to work it out.
I think it’s best to approach this as separate automations triggered by time pattern - every 30 min for example. I dont like the idea to trigger the mode change based on current_humidity as this may start compressor of the dehumidifier to often.
Time Pattern triggers are rarely the best approach.
I don’t really understand why you want to use a numeric input but set a mode… that is backwards from the normal use case for modes. Why not just have the numeric input set your humidifiers to a numeric humidity value with humidifier.set_humidity?
two sensors that show the current humidity they each individually detect (two readings), and
you need to compare them with a value you set by a
(single) slider, and then
command the specific humidifier (one, or the other, × or both ×) to
take action to alter the humidity as required to achieve that setting, using
commands such as ‘laundry’ and ‘purify’?
How often do you want to do this? At whim, at a certain time, a spoken command, or in response to certain combinations of weather conditions, or other HomeAssistant states?
How does your room humidity respond? Does it rise/fall to get to the goal? Over what time period? What happens if it overshoots slightly? For one humidifier or the other? Does one humidifier work faster/better/harder than the other?
What happens to the temperature as all this is happening? Comfort levels?
You haven’t mentioned any make, model, or integration, so we are left guessing as to your scenario.
I’m thinking you may have to eat the chocolate elephant in little bites at a time.
What have you attempted so far? In what way isn’t it working?