Move sensor rounding to frontend (#87330)
* Move sensor rounding to frontend * Update integrations * Add comment
This commit is contained in:
parent
ee6773236e
commit
bcc1aa03b4
8 changed files with 231 additions and 307 deletions
|
@ -249,7 +249,7 @@ SENSOR_TYPES: tuple[AccuWeatherSensorDescription, ...] = (
|
|||
metric_unit=UnitOfLength.METERS,
|
||||
us_customary_unit=UnitOfLength.FEET,
|
||||
value_fn=lambda data, unit: cast(float, data[unit][ATTR_VALUE]),
|
||||
native_precision=0,
|
||||
suggested_display_precision=0,
|
||||
),
|
||||
AccuWeatherSensorDescription(
|
||||
key="CloudCover",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue