core/homeassistant/components/nws
rianadon a102c425a9
Add speed conversion function & add speed to units system (#53846)
* Add speed conversion function

* Add test for speed utility functions

* Update unit system tests

* Fix incorrect unit conversions in tests

* Fix some test errors

* Calculate speed units from smaller set of constants

* Fix typo in speed test

* Use pytest.approx for checking floating point values

* Change other instance of speeds needing to be pytest.approx

* Revert changes to unit system

* Fix oopsie in defining in/day and in/hr

* Parametrize test

* Add comments describing calculations & remove duplicate test
2021-11-09 08:12:28 +01:00
..
translations [ci skip] Translation update 2021-11-08 00:12:31 +00:00
__init__.py
config_flow.py
const.py
manifest.json
sensor.py Add speed conversion function & add speed to units system (#53846) 2021-11-09 08:12:28 +01:00
strings.json
weather.py Add speed conversion function & add speed to units system (#53846) 2021-11-09 08:12:28 +01:00