Skip to article frontmatterSkip to article content
Enhanced integrations

Select

Selecting from the selection using a selector.

The Home Assistant select logo



The select integration provides a way to select a value from a list of options. It differs from the input select helper in that the user does not directly create it but rather by other integrations.

Spook extends the select integration with an option to select a random option from the options offered by the select entity.

Screenshot of the developer actions tools, showing the new random actions for select.

FigureΒ 1:Spook adds a new random select action to the select integration.

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 select random action in the developer tools.
Action properties
ActionSelect: Select random option πŸ‘»
Action nameselect.random
Action targetsYes, 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.

RepairsΒΆ

Spook has no repair detections for this integration.

Uses casesΒΆ

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

  • The random select can be useful, for example, choosing a random preset or playlist from a list of options. This can add some surprise factor to some automations.

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.