Brett Adams
3656bcf752
Fix "home" route in Tesla Fleet & Teslemetry ( #129546 )
...
* translate Home to home
* refactor for mypy
* Fix home state
* Revert key change
* Add testing
2024-10-31 08:56:03 +01:00
Brett Adams
48d9df74ed
Add sunroof to Teslemetry ( #121476 )
2024-07-09 08:36:34 +02:00
Brett Adams
38ab121db5
Add cabin overheat protection entity to Teslemetry ( #118449 )
...
* test_cabin_overheat_protection
* Fix snapshot
* Translate error
* Review Feedback
2024-06-09 18:30:36 +02:00
Brett Adams
46158f5c14
Allow older vehicles to sleep in Teslemetry ( #117229 )
...
* Allow older vehicles to sleep
* Remove updated_once
* move pre2021 to lib
* bump
* Bump again
* Bump to 0.5.11
* Fix VIN so it matches the check
* Fix snapshot
* Snapshots
* Fix self.updated_once
* Remove old pre2021 attribute
* fix snapshots
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-05-27 12:37:33 +02:00
Brett Adams
f12f82caac
Add update platform to Teslemetry ( #118145 )
...
* Add update platform
* Add tests
* updates
* update test
* Fix support features comment
* Add assertion
2024-05-26 13:04:02 +02:00
Brett Adams
711f7e1ac3
Add media player platform to Teslemetry ( #117394 )
...
* Add media player
* Add tests
* Better service assertions
* Update strings.json
* Update snapshot
* Docstrings
* Fix json
* Update diag
* Review feedback
* Update snapshot
* use key for title
2024-05-26 10:36:35 +02:00
Brett Adams
1a4e416bf4
Refactor Teslemetry integration ( #112480 )
...
* 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
b5528de807
Add sensor platform to Teslemetry ( #109088 )
...
* Adding Energy
* Adding Energy
* Work in progress
* Add fixtures
* Add product info
* Add sensors
* Add icons
* Update metadata
* Use SensorEntityDescription for Energy
* Use ENERGY_STORAGE
* Add tests
* Fix coverage
* Update wall connector precision and units
* Change devices
* Fix serial number
* Add icons and VIN to wall connector
* Fix serial number again
* Update snapshots
* Use timestamp for minutes to arrival
* Cleanup snapshot
* Improvements
* Update fixture
* Add "code" to translations
* Add "code" to snapshot
* Use async_add_entities once
* Disable a bunch of sensors
* Ruff
* Improve fixture and test coverage
* Regen Snapshots
* Add init to coordinator
2024-03-04 18:42:56 +01:00
Brett Adams
b28e8a3cf0
Add tests to Teslemetry ( #108884 )
...
* Add tests
* Add partial sleep test
* Remove useless AsyncMock
* Review feedback
* Patch imports
* Fix mock_test
2024-01-28 21:04:44 +01:00