hass-core/tests/testing_config/custom_components/test
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
..
translations Rename translations dir for integrations (#34494) 2020-04-21 16:11:05 -07:00
__init__.py Load requirements and dependencies from manifests. Fallback to current REQUIREMENTS and DEPENDENCIES (#22717) 2019-04-11 01:26:36 -07:00
alarm_control_panel.py Vacation Mode on Alarm Panels (#45980) 2021-07-01 17:26:32 +02:00
binary_sensor.py Rename BinarySensorDevice to BinarySensorEntity (#34462) 2020-04-23 21:57:07 +02:00
button.py Add Button entity component platform (#57642) 2021-11-04 16:50:43 +01:00
cover.py Mqtt cover toggle add stop function (#59233) 2021-11-10 09:03:20 +01:00
device_tracker.py Move device tracker scanner attributes to ScannerEntity (#45312) 2021-01-19 11:04:08 -06:00
image_processing.py Update integrations t-z to override extra_state_attributes() (#47760) 2021-03-11 20:16:26 +01:00
light.py Add support for white to light groups (#55082) 2021-08-23 18:29:44 +02:00
lock.py Address new issues flagged by flake8 3.8.0a2 (#34964) 2020-04-30 21:37:58 +02:00
manifest.json Block custom integrations with missing or invalid version (#49916) 2021-05-17 15:48:41 +02:00
number.py Validate Number value before calling entity method (#52343) 2021-08-04 11:57:26 +02:00
remote.py Add device action support for remotes (#39400) 2020-09-07 08:54:18 -05:00
select.py Validate Select option before calling entity method (#52352) 2021-08-04 11:12:42 +02:00
sensor.py Add frequency device class for sensor (#59700) 2021-11-15 14:33:50 +01:00
switch.py Remove stale print 2020-08-20 11:41:05 +00:00
weather.py Add native unit types for weather entities (#59533) 2021-11-29 14:44:44 +01:00