Skip to article frontmatterSkip to article content
Enhanced integrations

Input select

Offers a selection of the finest options.

The Home Assistant input select icon



The input select Helper in Home Assistant allows the user to define a list of options that can be controlled via the frontend and can be used within conditions of an automation. The frontend can display a dropdown or a list of buttons. Changes to the dropdown or list of buttons generate state events. These state events can be utilized as automation triggers as well.

Spook adds some new actions to the input select integration, which allows one to select a random option and to shuffle or sort the list of options in the input select.

Screenshot of the developer actions tools, listing the new actions for input select.

Figure 1:Spook adds a bunch of new actions to the input select helper integrations.

Devices & entities

Spook does not provide any new devices or entities for this integration.

Actions

Spook adds the following new actions to your Home Assistant instance:

Select random option

Select a random option from the list of options in the input select.

Screenshot of the input select random action in the developer tools.
Action properties
ActionInput select: Select random option 👻
Action nameinput_select.random
Action targetsYes, input_select entities
Action responseNo response
Spook's influenceNewly added action
Developer toolsTry this action Open your Home Assistant instance and show your actions developer tools with a specific action selected.
Action data parameters
AttributeTypeRequiredDefault / Example
optionslist of stringsNoDefaults to all available options

The options attribute is a list of strings, containing the options to select a random one from. If not provided, all available options configured in the input select are used.

Shuffle options

Shuffles the list of available options in the input select and keeps the current select options selected.

Screenshot of the input select shuffle action in the developer tools.
Action properties
ActionInput select: Shuffle options 👻
Action nameinput_select.shuffle
Action targetsYes, input_select entities
Action responseNo response
Spook's influenceNewly added action
Developer toolsTry this action Open your Home Assistant instance and show your actions developer tools with a specific action selected.

Sort options

Sorts the list of available options in the input select and keeps the current select options selected.

Screenshot of the input select sort action in the developer tools.
Action properties
ActionInput select: Sort options 👻
Action nameinput_select.sort
Action targetsYes, input_select entities
Action responseNo response
Spook's influenceNewly added action
Developer toolsTry this action Open your Home Assistant instance and show your actions developer tools with a specific action selected.

Repairs

Spook has no repair detections for this integration.

Uses cases

Some use cases for the enhancements Spook provides for this integration:

  • The shuffle and random abilities can have very fun use cases in automations. For example, select a random person to cook dinner or do chores, or shuffle a sequence of scenes to play.
  • The input select entity doesn’t allow you to re-order the options. The sort ability allows you to sort the options alphabetically, at least.

Blueprints & tutorials

There are currently no known blueprints or tutorials for the enhancements Spook provides for this integration. If you created one or stumbled upon one, please let us know in our discussion forums.

Features requests, ideas, and support

If you have an idea on how to further enhance this integration, for example, by adding a new action, entity, or repairs detection; feel free to let us know in our discussion forums.

Are you stuck using these new features? Or maybe you’ve run into a bug? Please check the Support page on where to go for help.