Hi!
I have a humidifier and I need to extract only number entity from it to control target humidity.
I believed it would be easy to pass data of target humidity from input_number to humidifier via automations but it didnt work
Is it possible and how I am supposed to do this?
While it is certainly possible, what do you intend to do with the number when you have it? You are obviously trying to solve some bigger thing but it does not sound like copying the value to an input number is going to be the best way to get to that.
It seems like you want to control target humidity, getting the setpoint out is the opposite of that.
Anyway, this is a template to get the target humidity:
You right, I’ve edited the post
My old humidifier widget in interface worked differently, it was a kind of Frankenstein built from a few entities: switch on / off entity, current humidity sensor, number entity for target humidity.
So humidifier changed and now it uses humidifier entity but I want to stay with my old widget, so the only problem that I cant control target humidity with number entity…
For those coming here and wanting to know what was wrong in the first place with setting the input field (because the solution is not the solution to the question, but to the problem behind it):
the field humidity in the data is not understood by the action input_number.set_value. That expects a value tag.