Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Enhanced integrations

Sensor

How many decimals is too many decimals?

The Home Assistant sensor icon



The sensor integration is the one that reports things: temperatures, power usage, how full the bins are. Most integrations you install bring some along.

Home Assistant lets you set how many decimals a sensor shows, but only one sensor at a time, by opening its settings in the UI. That is fine for one. It is less fine when an integration hands you forty power sensors that all report six decimals.

Spook adds an action that sets the display precision on as many sensors as you like in a single call.

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:

Set display precisionΒΆ

Sets the number of decimals shown for one or more sensors.

Action properties

Action

Set display precision πŸ‘»

Action name

sensor.set_display_precision

Action targets

No

Action response

No response

Spook's influence

Newly added action

Tools

Try this action Open your Home Assistant instance and show the Actions tool with a specific action selected.

Action data parameters

Attribute

Type

Required

Default / Example

entity_id

string or list

Yes

"sensor.living_room_temperature"

display_precision

integer

Yes

1

RepairsΒΆ

Spook has no repair detections for this integration.

Use casesΒΆ

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

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.

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