1
0
mirror of https://github.com/home-assistant/core.git synced 2025-07-25 22:27:07 +00:00

6 Commits

Author SHA1 Message Date
Brett Adams
af0dd189d9
Improve error handling in Teslemetry ()
* Improvement command handle

* Add test for ignored reasons
2024-05-12 19:37:59 -07:00
Brett Adams
1a4e416bf4
Refactor Teslemetry integration ()
* Refactor Teslemetry

* Add abstractmethod

* Remove unused timestamp const

* Ruff

* Fix

* Update snapshots

* ruff

* Ruff

* ruff

* Lint

* Fix tests

* Fix tests and diag

* Refix snapshot

* Ruff

* Fix

* Fix bad merge

* has as property

* Remove _handle_coordinator_update

* Test and error changes
2024-05-10 10:52:33 +02:00
Brett Adams
f249a9ba4b
Add API scope checks to Teslemetry () 2024-04-23 22:11:41 +02:00
Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 ()
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Brett Adams
767fcd707f
Add wake up timeout to Teslemetry () 2024-02-22 10:50:44 +01:00
Brett Adams
b28e8a3cf0
Add tests to Teslemetry ()
* Add tests

* Add partial sleep test

* Remove useless AsyncMock

* Review feedback

* Patch imports

* Fix mock_test
2024-01-28 21:04:44 +01:00