Add Derivative component (#26456)
* create derivation component based on integration component remove left and right * Update test (was'n saved) * add some functionnal point test * Change derivation to derivative * Continue migration from derivation to derivative * Add codeowners info * fix tests typo and values * Improve code from reviewer add test case fix test values still a prefix issue that should not * create derivation component based on integration component remove left and right * Update test (was'n saved) * add some functionnal point test * Change derivation to derivative * Continue migration from derivation to derivative * Add codeowners info * fix tests typo and values * Improve code from reviewer add test case fix test values still a prefix issue that should not * Update homeassistant/components/derivative/sensor.py Fix test issue with unit of measurement Co-Authored-By: Santobert <tobhaase@gmail.com> * Fix review Move ValueError to SyntaxError * precise state test * un comment original tests and remove error tests * Fix isort issue * Fix review - update doc link - migrate to general const import * Rollback import conf_unit, just defined localy Co-authored-by: Santobert <tobhaase@gmail.com>
This commit is contained in:
1 parent
5f31b48f1d
commit
b2212ad445
6 files changed
+481
No files matched your search
@@ -0,0 +1 @@
|
||||
"""Tests for the derivative component."""
|
||||
Reference in new issue
Block a user