diff --git a/aiocloudweather/conversion.py b/aiocloudweather/conversion.py index 7fc2fa4..1bfcff3 100644 --- a/aiocloudweather/conversion.py +++ b/aiocloudweather/conversion.py @@ -1,7 +1,6 @@ """ A list of all the unit conversions. Many are just approximations.""" from .const import ( - UnitOfIrradiance, UnitOfPrecipitationDepth, UnitOfPressure, UnitOfSpeed, diff --git a/aiocloudweather/station.py b/aiocloudweather/station.py index 0224e37..7403311 100644 --- a/aiocloudweather/station.py +++ b/aiocloudweather/station.py @@ -9,7 +9,6 @@ fahrenheit_to_celsius, in_to_mm, inhg_to_hpa, - lux_to_wm2, mph_to_ms, ) from .const import ( diff --git a/tests/test_conversion.py b/tests/test_conversion.py index 3c5bbf4..ea21dce 100644 --- a/tests/test_conversion.py +++ b/tests/test_conversion.py @@ -2,7 +2,6 @@ fahrenheit_to_celsius, in_to_mm, inhg_to_hpa, - lux_to_wm2, mph_to_ms, ) @@ -25,12 +24,6 @@ def test_in_to_mm(): assert round(in_to_mm(0.5), 2) == 12.7 -def test_lux_to_wm2(): - assert round(lux_to_wm2(100), 2) == 1.08 - assert round(lux_to_wm2(500), 2) == 5.38 - assert round(lux_to_wm2(1000), 2) == 10.75 - - def test_mph_to_ms(): assert round(mph_to_ms(10), 4) == 4.4704 assert round(mph_to_ms(30), 4) == 13.4112