1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Fix unitless converter missing valid units (#152665)

This commit is contained in:
Abílio Costa
2025-09-22 15:19:31 +01:00
committed by GitHub
parent fdbff76733
commit b26b1df143
2 changed files with 3 additions and 1 deletions

View File

@@ -742,6 +742,8 @@ class UnitlessRatioConverter(BaseUnitConverter):
}
VALID_UNITS = {
None,
CONCENTRATION_PARTS_PER_BILLION,
CONCENTRATION_PARTS_PER_MILLION,
PERCENTAGE,
}