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

Add support for CCF volume unit (#84029)

This commit is contained in:
epenet
2022-12-19 14:57:04 +01:00
committed by GitHub
parent 3351846b0e
commit f4c13645d2
7 changed files with 47 additions and 103 deletions

View File

@@ -4057,7 +4057,7 @@ async def test_validate_statistics_unit_change_equivalent_units(
@pytest.mark.parametrize(
"attributes, unit1, unit2, supported_unit",
[
(NONE_SENSOR_ATTRIBUTES, "", "m3", "L, fl. oz., ft³, gal, mL, m³"),
(NONE_SENSOR_ATTRIBUTES, "", "m3", "CCF, L, fl. oz., ft³, gal, mL, m³"),
],
)
async def test_validate_statistics_unit_change_equivalent_units_2(