hass-core/homeassistant
rianadon a102c425a9
Add speed conversion function & add speed to units system ()
* 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
..
auth Bump pyotp to 2.6.0 () 2021-10-26 20:41:12 +02:00
components Add speed conversion function & add speed to units system () 2021-11-09 08:12:28 +01:00
generated Add Evil Genius Labs integration () 2021-11-08 08:56:27 -08:00
helpers Allow overriding ensure_ascii in the "to_json" template filter () 2021-11-08 15:49:10 +01:00
scripts Import Callable from collections.abc (1) () 2021-09-29 16:32:11 +02:00
util Add speed conversion function & add speed to units system () 2021-11-09 08:12:28 +01:00
__init__.py
__main__.py Activate fault handler () 2021-09-28 00:05:06 -07:00
async_timeout_backcompat.py Bump to aiohttp 3.8.0 () 2021-11-04 10:07:50 -05:00
block_async_io.py
bootstrap.py Deprecate Python 3.8 () 2021-10-05 08:58:20 +02:00
config.py Import Callable from collections.abc (1) () 2021-09-29 16:32:11 +02:00
config_entries.py Index in-progress flows to avoid linear search () 2021-10-22 07:19:49 -10:00
const.py Add speed conversion function & add speed to units system () 2021-11-09 08:12:28 +01:00
core.py Bump to aiohttp 3.8.0 () 2021-11-04 10:07:50 -05:00
data_entry_flow.py Use assignment expressions 34 () 2021-10-31 19:01:16 +01:00
exceptions.py Avoid some implicit generic Anys () 2021-08-16 23:12:06 +02:00
loader.py Ensure domain is correct format () 2021-10-25 15:56:07 -07:00
package_constraints.txt Update frontend to 20211108.0 () 2021-11-08 12:45:40 -08:00
requirements.py Use assignment expressions 03 () 2021-10-17 20:08:11 +02:00
runner.py Log unhandled loop exception traces when asyncio debug is on () 2021-10-18 20:07:51 -07:00
setup.py Import Callable from collections.abc (1) () 2021-09-29 16:32:11 +02:00
strings.json