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 service tools, showing the new random service for select.

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

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 select random service call in the developer tools.
Service properties
ServiceSelect: Select random option πŸ‘»
Service nameselect.random
Service targetsYes, 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.

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 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.