Skip to article frontmatterSkip to article content
Enhanced integrations

Input number

Give me your digits. πŸ”’

The Home Assistant input number icon



The input number Helper in Home Assistant allows the user to define values that can be controlled via the frontend and can be used within conditions of an automation. The frontend can display a slider or a numeric input box. Changes to the slider or numeric input box generate state events. These state events can be utilized as automation triggers as well.

Spook adds some new actions to the input number integration, which allows you to set the value to the minimum or maximum value, and enhances the existing increase and decrease actions by allowing them to increase/decrease the value by a given amount.

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

FigureΒ 1:Spook adds many new actions to the input number 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:

Decrease valueΒΆ

Decrease an input number entity value by a certain amount.

Screenshot of the input number decrease value action in the developer tools.
Action properties
ActionInput number: Decrease value πŸ‘»
Action nameinput_number.decrement
Action targetsYes, input_number entities
Action responseNo response
Spook's influenceAdds an amount to decrement the value with
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
amountintegerNoDefaults to configured step value

This action already exists but is extended by Spook to add the amount attribute. If the amount attribute is not provided, the action will use the step value of the input number entity. The amount attribute must be a multiple of the step value.

Increase valueΒΆ

Increase an input number entity value by a certain amount.

Screenshot of the input number increase value action in the developer tools.
Action properties
ActionInput number: Increase value πŸ‘»
Action nameinput_number.increment
Action targetsYes, input_number entities
Action responseNo response
Spook's influenceAdds an amount to increment the value with
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
amountintegerNoDefaults to configured step value

This action already exists but is extended by Spook to add the amount attribute. If the amount attribute is not provided, the action will use the step value of the input number entity. The amount attribute must be a multiple of the step value.

Set value to maximumΒΆ

Set an input number entity to its maximum value.

Screenshot of the input number maximum value action in the developer tools.
Action properties
ActionInput number: Set maximum value πŸ‘»
Action nameinput_number.max
Action targetsYes, input_number 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.

Set value to minimumΒΆ

Set an input number entity to its minimum value.

Screenshot of the input number minimum value action in the developer tools.
Action properties
ActionInput number: Set minimum value πŸ‘»
Action nameinput_number.min
Action targetsYes, input_number 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:

  • Quickly, with a single action, set the value of an input helper to its maximum or minimum value.
  • Instead of having to call the input_number.decrement or input_number.increment action multiple times, you can now set the amount to increase or decrease the value with.

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.