mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Allow cm in precipitation units (#83360)
* Use new device class in zamg * Adjust docstring * Undo component changes
This commit is contained in:
@@ -817,6 +817,9 @@ class UnitOfPrecipitationDepth(StrEnum):
|
||||
MILLIMETERS = "mm"
|
||||
"""Derived from mm³/mm²"""
|
||||
|
||||
CENTIMETERS = "cm"
|
||||
"""Derived from cm³/cm²"""
|
||||
|
||||
|
||||
# Precipitation units
|
||||
PRECIPITATION_INCHES: Final = "in"
|
||||
|
||||
Reference in New Issue
Block a user