* 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>
* add unit tests for sensors
* newline long strings
* unit test check and move time
* rename entry to entity
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* add types to test
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* fix newlined f strings
* remove if statement
* add some more explaination
* Update datetime
Co-authored-by: Robert Resch <robert@resch.dev>
* Simpler time update
Co-authored-by: Robert Resch <robert@resch.dev>
* add missing datetime import
* Update docustring - grammar
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* address comments and issues raised
* address docstrings too long
* Fix docstring
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Robert Resch <robert@resch.dev>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>