mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-02-28 03:41:57 +01:00
Clarify accuracy_decimals
in sensor config
The documentation for `accuracy_decimals` was a bit vague and inaccurate (oh the irony). I think this is better. As discussed in the Discord channel with @ssieb.
This commit is contained in:
parent
181be74bdd
commit
262c698853
@ -50,7 +50,7 @@ Configuration variables:
|
||||
sensor. See https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes
|
||||
for a list of available options. Set to ``""`` to remove the default state class of a sensor.
|
||||
- **icon** (*Optional*, icon): Manually set the icon to use for the sensor in the frontend.
|
||||
- **accuracy_decimals** (*Optional*, int): Manually set the accuracy of decimals to use when reporting values.
|
||||
- **accuracy_decimals** (*Optional*, int): Manually set the number of decimals to use when reporting values. This does not impact the actual value reported to Home Assistant, it just sets the number of decimals to use when displaying it.
|
||||
- **filters** (*Optional*): Specify filters to use for some basic
|
||||
transforming of values. See :ref:`Sensor Filters <sensor-filters>` for more information.
|
||||
- **internal** (*Optional*, boolean): Mark this component as internal. Internal components will
|
||||
|
Loading…
Reference in New Issue
Block a user