core/tests/components/sensor
Erik Montnemery 475b43500a
Add above and below to sensor condition extra_fields (#27364)
* Add above and below to sensor condition extra_fields

* Change unit_of_measurement to suffix in extra_fields

* Check if sensor has unit when getting capabilities

* Improve tests
2019-10-26 06:55:42 +08:00
..
__init__.py Fix PEP257 issues 2016-03-09 10:25:50 +01:00
test_device_condition.py Add above and below to sensor condition extra_fields (#27364) 2019-10-26 06:55:42 +08:00
test_device_trigger.py Add above and below to sensor condition extra_fields (#27364) 2019-10-26 06:55:42 +08:00