hass-core/homeassistant
Michael Arthur b1a246b817
Add account sensors to electric kiwi integration (#97681)
* 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>
2024-01-13 18:12:40 +01:00
..
auth
backports
brands Add Rainforest RAVEn integration (#80061) 2024-01-05 14:00:54 +01:00
components Add account sensors to electric kiwi integration (#97681) 2024-01-13 18:12:40 +01:00
generated Add myUplink integration (#86522) 2024-01-12 12:17:07 +01:00
helpers Use identity checks for CoreState (#107846) 2024-01-12 10:21:26 +01:00
scripts
util Enable strict typing for ios (#107382) 2024-01-12 14:43:17 +01:00
__init__.py
__main__.py
block_async_io.py
bootstrap.py Signficantly reduce executor contention during bootstrap (#107312) 2024-01-07 22:55:40 -05:00
config.py Deprecate legacy_templates (#105556) 2023-12-22 00:42:16 +01:00
config_entries.py Use identity checks for CoreState (#107846) 2024-01-12 10:21:26 +01:00
const.py Include deprecated constants in wildcard imports (#107114) 2024-01-05 11:46:45 +01:00
core.py Use identity checks for CoreState (#107846) 2024-01-12 10:21:26 +01:00
data_entry_flow.py Warn if integrations call async_show_progress without passing a task (#107796) 2024-01-13 11:56:05 +01:00
exceptions.py
loader.py Reduce zeroconf matcher complexity (#105880) 2023-12-23 11:04:05 +01:00
package_constraints.txt Bump orjson to 3.9.10 (#107898) 2024-01-12 11:06:44 -10:00
requirements.py Signficantly reduce executor contention during bootstrap (#107312) 2024-01-07 22:55:40 -05:00
runner.py
setup.py
strings.json