core/tests/testing_config/custom_components
rianadon 09af85c6a4
Add native unit types for weather entities (#59533)
* Add native unit types for weather entities

* Update weatherentity and change precision in climacell test

* Move weather test to demo tests

* Add weather test for temperature conversion

* Add more unit conversion tests

* Remove extra native_ methods

* Remove extra properties and save precision change for another PR

* Remove visibility_unit from metoffice component

The vibility values given by metoffice are formatted into strings,
which means they can't automatically be converted.

* Improve docstrings and convert pressures in forecast

* Add precipitation and wind speed units

* Clean up tests

* Round converted weather values

* Round weather values to 2 decimal places

* Move number of rounding decimal places to constant

* Docstring and styles
2021-11-29 14:44:44 +01:00
..
hue Prevent partial custom component overlays (#21070) 2019-02-21 09:41:36 +01:00
switch Load requirements and dependencies from manifests. Fallback to current `REQUIREMENTS` and `DEPENDENCIES` (#22717) 2019-04-11 01:26:36 -07:00
test Add native unit types for weather entities (#59533) 2021-11-29 14:44:44 +01:00
test_bad_version Move version validation to resolver (#51311) 2021-05-31 15:32:03 -07:00
test_embedded Block custom integrations with missing or invalid version (#49916) 2021-05-17 15:48:41 +02:00
test_no_version Move version validation to resolver (#51311) 2021-05-31 15:32:03 -07:00
test_package Block custom integrations with missing or invalid version (#49916) 2021-05-17 15:48:41 +02:00
__init__.py Load requirements and dependencies from manifests. Fallback to current `REQUIREMENTS` and `DEPENDENCIES` (#22717) 2019-04-11 01:26:36 -07:00
test_standalone.py Black 2019-07-31 12:25:30 -07:00