1
mirror of https://github.com/home-assistant/core synced 2024-09-09 12:51:22 +02:00
ha-core/homeassistant/components/climacell
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 Use DeviceInfo Class B-C (#58217) 2021-10-23 11:41:32 +02:00
config_flow.py Clean up connection classes in integrations A-C (#49888) 2021-04-30 21:01:52 -10:00
const.py Import Callable from collections.abc (2) (#56776) 2021-09-29 14:06:51 +02:00
manifest.json Add value map for Climacell V3 pollen sensors (#50200) 2021-05-06 21:12:51 -07:00
sensor.py Use assignment expressions 27 (#58188) 2021-10-22 11:29:21 +02:00
strings.json Block title in strings.json unless internal or allowed (#53304) 2021-07-22 08:37:33 +02:00
weather.py Add speed conversion function & add speed to units system (#53846) 2021-11-09 08:12:28 +01:00