Add and use percentage constant (#32094)
* Add and use percentage constant * Fix pylint error and broken test
This commit is contained in:
1 parent
c7f128f286
commit
f1a0ca7cd3
155 files changed
+735
-459
No files matched your search
@@ -395,6 +395,8 @@ MASS_POUNDS: str = "lb"
|
||||
# UV Index units
|
||||
UNIT_UV_INDEX: str = "UV index"
|
||||
|
||||
# Percentage units
|
||||
UNIT_PERCENTAGE = "%"
|
||||
# Irradiation units
|
||||
IRRADIATION_WATTS_PER_SQUARE_METER = f"{POWER_WATT}/{AREA_SQUARE_METERS}"
|
||||
|
||||
|
||||
Reference in new issue
Block a user