mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-04-19 10:57:14 +00:00
Adjust precipitation units (#1489)
This commit is contained in:
parent
68ed590f2b
commit
5ea43539b8
13
blog/2022-10-25-new-precipitation-intensity-units.md
Normal file
13
blog/2022-10-25-new-precipitation-intensity-units.md
Normal file
@ -0,0 +1,13 @@
|
||||
---
|
||||
author: epenet
|
||||
authorURL: https://github.com/epenet
|
||||
title: "Add new precipitation intensity units"
|
||||
---
|
||||
|
||||
As of Home Assistant Core 2022.11, the following constants are deprecated for volumetric flux (like precipitation intensity), replaced by `UnitOfVolumetricFlux` enum:
|
||||
|
||||
- `PRECIPITATION_INCHES_PER_HOUR` replaced by `UnitOfVolumetricFlux.INCHES_PER_HOUR`
|
||||
- `PRECIPITATION_MILLIMETERS_PER_HOUR` replaced by `UnitOfVolumetricFlux.MILLIMETERS_PER_HOUR`
|
||||
- `SPEED_INCHES_PER_DAY` replaced by `UnitOfVolumetricFlux.INCHES_PER_DAY`
|
||||
- `SPEED_INCHES_PER_HOUR` replaced by `UnitOfVolumetricFlux.INCHES_PER_HOUR`
|
||||
- `SPEED_MILLIMETERS_PER_DAY` replaced by `UnitOfVolumetricFlux.MILLIMETERS_PER_DAY`
|
Loading…
x
Reference in New Issue
Block a user