#Extract fan Strength as dedicated dropdown

1 messages · Page 1 of 1 (latest)

rich coyote
#

I have a fan with adjustable strength. I would like to have this outside of this fan control as a dedicated input_select helper with 2 features:

  • Display the current set value
  • Allow me to change the value from the dropdown

I would like this for dashboards and automations

Whats the easiest way to achieve this? Thanks a ton!

pallid prism
#

Like this?

rich coyote
#

yes, exactly. With the same settings as the original

pallid prism
#

Use Entities card instead of Entity

rich coyote
#

can I have this as a helper?

#

Also for automations, history graph etc.

pallid prism
#

It is a helper

#

Called dropdown (input_select)

rich coyote
#

Under Helper, I can only create static values

pallid prism
#

Well, i think templates can be used. Don't try myself

rich coyote
#

Yeah, it might. But I dont know how

pallid prism
#

I don't umderstand your languag on picturese

rich coyote
#

Its just the screenshot when I create an input_select helper

#

I want it linked to the fan

#

in both directions

pallid prism
#

I got it. But in orig question ?

rich coyote
#

yes, thats the original question

pallid prism
#

What is the orig question ? What you need exactly

rich coyote
#

I have some use cases where I would like to adjust and read the strength via a dropdown. This is on dashboard as well as automations.

pallid prism
#

if You want to see current state - add another sensor. Can't see a sence to insert current state to dropdown list

#

You mean to set some value through dropdown an then look how it changing in the same dropdown position?

#

Use Entities card. 1st position- curr state, 2nd pos - dropdown

#

I like this card most of all for its laconic appearance

#

Again, if you want to see curr state in dropdown list - try template someway

rich coyote
#

ok, will do. thank you!

pallid prism
#

looks like templates don't work

rich coyote
#

this is german but it looks kinda good. the dropdown helper shows the value of the fan. But setting doesnt work yet, you can define an action but I would like to use the currently set value

pallid prism
#

Yes, it looks like dropdown can contain only static text or number values

#

O.. just don't understand . You can insert the curr value?

#

Any way dropdown can give you exactly the value from its list i.e. - your curr value.

#

Sorry, can't imagine where you get this screenshot.

#

For further use

rich coyote
#

This screenshot is from the input_select template helper creation

pallid prism
#

In yaml ?

rich coyote
#

Cant its in gui there is no yaml option

pallid prism
#

OK, didn't find that option there

rich coyote
#

But there seem to be a "Loop" problem. With the action, when reading the dropdown value, its not taking the value from the dropdown but the one of the fan

#

BEcause the dropdown is bound to the fan

pallid prism
#

Yes I already told about that

#

Please look here my helper creation form

#

Can't find similarity with your screenshot

rich coyote
#

Its not the input select helper. Its a template helper where there is a select option

pallid prism
#

Yeah, but you must sreate helper manually anyway. Or no?

rich coyote
#

What means manually? 🙂 Yes a bit, but the gui helps a lot.

mortal gust
#

You have two options, or a template select helper, or a input_select helper (with an additional automation)

pallid prism
#

Well, I see that there's some attributes. It's hardly connected with your device.

#

Anyway will notice about template sel helper

#

It might be an interesting helper form - i mean with curr state view

#

but need more to think how to organize and use it

#

Ok. Found it.

#

I think you tying to use it in slightly incorrect way. Need some googling about this template helper using.