Way to have a helper with 2 different states?

I am looking for a helper to say ‘inside’ or ‘outside’. Currently using a toggle.
I could setup a specific sensor i guess and put in a friendly name but wondering if there’s a better way?

Hi @atv

I think you’ll need to create a template sensor.

Let me know if you need help. If you do, let me know how ‘inside’ or ‘outside’ is determined and which entities are involved.

1 Like

Input select helper. Drop down with multiple states.

If you need to display it differently there are many techniques

This card:


Is basically one button card with a bunch of other buttons embedded. Each one has service : input_select.select_option xxx as it’s action.

So I’m storing the value as an input select but representing it on the dashboard as buttons.

2 Likes

Totally agree with Nathan: Input Select is designed for exactly this kind of thing. To create: Settings → Devices & Services → Helpers → Create Helper → Dropdown. Give it a name (eg “Location”), and add options for your desired states (eg “Inside” and “Outside”), then Create.

Thanks guys. Once i create the dropdown entities how does one set them ? I did not see a input_select set entry under services (must have missed it!).

Use the SELECT OPTION service

image

Thanks! Much obliged.

1 Like