Add new precipitation intensity units
· One min read
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 byUnitOfVolumetricFlux.INCHES_PER_HOUR
PRECIPITATION_MILLIMETERS_PER_HOUR
replaced byUnitOfVolumetricFlux.MILLIMETERS_PER_HOUR
SPEED_INCHES_PER_DAY
replaced byUnitOfVolumetricFlux.INCHES_PER_DAY
SPEED_INCHES_PER_HOUR
replaced byUnitOfVolumetricFlux.INCHES_PER_HOUR
SPEED_MILLIMETERS_PER_DAY
replaced byUnitOfVolumetricFlux.MILLIMETERS_PER_DAY