b1a246b817
* add account sensors * tidy up same issues as other sensors * add unit tests for sensors edit and remove comments assert state and remove HOP sensor types since they aren't being used * try and fix tests * add frozen true * Update tests/components/electric_kiwi/test_sensor.py Co-authored-by: G Johansson <goran.johansson@shiftit.se> * return proper native types Co-authored-by: G Johansson <goran.johansson@shiftit.se> * tidy up attr unique id Co-authored-by: G Johansson <goran.johansson@shiftit.se> * add entities once and use native values properly * Improve conftest Co-authored-by: G Johansson <goran.johansson@shiftit.se> * tidy tests/components/electric_kiwi/test_sensor.py Co-authored-by: G Johansson <goran.johansson@shiftit.se> * add assert to component_setup Co-authored-by: G Johansson <goran.johansson@shiftit.se> * add extra parameters to test Co-authored-by: G Johansson <goran.johansson@shiftit.se> * Update tests/components/electric_kiwi/test_sensor.py Co-authored-by: G Johansson <goran.johansson@shiftit.se> * Update tests/components/electric_kiwi/test_sensor.py Co-authored-by: G Johansson <goran.johansson@shiftit.se> * change coordinator name Co-authored-by: G Johansson <goran.johansson@shiftit.se> * tidy up sensor translation names * Apply suggestions from code review --------- Co-authored-by: G Johansson <goran.johansson@shiftit.se> |
||
---|---|---|
.. | ||
fixtures | ||
__init__.py | ||
conftest.py | ||
test_config_flow.py | ||
test_sensor.py |