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 services 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 service tools, listing the new services for input select.

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

Devices & entities

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

Services

Spook adds the following new service 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 service call in the developer tools.
Service properties
ServiceInput select: Select random option 👻
Service nameinput_select.random
Service targetsYes, input_select entities
Service responseNo response
Spook's influenceNewly added service
Developer toolsTry this service Open your Home Assistant instance and show your service developer tools with a specific service selected.
Service call data
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 service call in the developer tools.
Service properties
ServiceInput select: Shuffle options 👻
Service nameinput_select.shuffle
Service targetsYes, input_select entities
Service responseNo response
Spook's influenceNewly added service
Developer toolsTry this service Open your Home Assistant instance and show your service developer tools with a specific service 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 service call in the developer tools.
Service properties
ServiceInput select: Sort options 👻
Service nameinput_select.sort
Service targetsYes, input_select entities
Service responseNo response
Spook's influenceNewly added service
Developer toolsTry this service Open your Home Assistant instance and show your service developer tools with a specific service 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 service, 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.