core/tests/testing_config/custom_components
Erik Montnemery 029873a088
Add support for total and total_increasing sensor state classes (#54523)
* Add support for amount and meter sensor state classes

* Ignore last_reset for STATE_CLASS_METER sensors

* Update tests

* Rename STATE_CLASS_METER to STATE_CLASS_AMOUNT_INCREASING

* Rename STATE_CLASS_AMOUNT to STATE_CLASS_TOTAL

* Fix typo

* Log warning if last_reset set together with state_class measurement

* Fix warning message
2021-08-13 12:35:23 +02:00
..
hue
switch
test Add support for total and total_increasing sensor state classes (#54523) 2021-08-13 12:35:23 +02: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
test_standalone.py Black 2019-07-31 12:25:30 -07:00