Skip to article frontmatterSkip to article content
Enhanced integrations

Number

Elmo likes numbers too!

The Home Assistant number icon



The number integration provides numeric inputs to control devices & services. It differs from the input number helper in that the user does not directly create it but rather by other integrations.

Spook adds some new services to the number integration, which allows you to set the value to the minimum or maximum value, and adds services to increase and decrease services the number value by a given amount.

Screenshot of the developer service tools, listing the new services for number.

FigureΒ 1:Spook adds a bunch of new services to the number 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:

Decrease valueΒΆ

Decrease a number entity value by a certain amount.

Screenshot of the number decrease value service call in the developer tools.
Service properties
ServiceNumber: Decrease value πŸ‘»
Service namenumber.decrement
Service targetsYes, number 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
amountintegerNoDefaults to configured step value

If the amount attribute is not provided, the service will use the step value of the number entity. The amount attribute must be a multiple of the step value.

Increase valueΒΆ

Increase a number entity value by a certain amount.

Screenshot of the number increase value service call in the developer tools.
Service properties
ServiceNumber: Increase value πŸ‘»
Service namenumber.increment
Service targetsYes, number 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
amountintegerNoDefaults to configured step value

If the amount attribute is not provided, the service will use the step value of the number entity. The amount attribute must be a multiple of the step value.

Set value to maximumΒΆ

Set an number entity to its maximum value.

Screenshot of the number maximum value service call in the developer tools.
Service properties
ServiceNumber: Set maximum value πŸ‘»
Service namenumber.max
Service targetsYes, number 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.

Set value to minimumΒΆ

Set an number entity to its minimum value.

Screenshot of the number minimum value service call in the developer tools.
Service properties
ServiceNumber: Set minimum value πŸ‘»
Service namenumber.min
Service targetsYes, number 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:

  • Quickly, with a single service call, set the value of a number entity to its maximum or minimum value.
  • Add the ability to increase or decrease the value of a number entity with a single service call instead of having to call the number.set_value service using a template that does calculations on the current state.

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.