EPMatt / awesome-ha-blueprints

A curated collection of automation blueprints for Home Assistant.
https://epmatt.github.io/awesome-ha-blueprints
GNU General Public License v3.0
811 stars 237 forks source link

Enhancement - using an input_select as name of the light to be managed by a remote and a button to switch between input select values #552

Open boos opened 1 year ago

boos commented 1 year ago

Blueprint name

light

Description

I can only decide on a light entity as the entity which is going to be managed by a remote controller. I would love to choose the light bulb to be controlled by getting its name using an input select dropdown.

The idea would be to use a long press on ikea trade with five buttons to switch among a list of bulbs and manage them individually.

The input selects could be something like this: input_select: bulb1, bulb2, bulb1+2 (group) a long press of a button to switch in sequence among them and normal behavior in all other cases.

In this way, I will be able to use one remote to handle the bulb on a drawer, the floor light bulb, and both of them with only one controller as needed.

Automation YAML config

No response

Implementation

No response

Additional Details

Useful resources

No response

Additional context

No response