Brett Adams
da9749ecce
Add data streaming to Teslemetry ( #127559 )
2024-10-25 11:50:37 +02:00
Brett Adams
5186605cec
Add energy history coordinator and sensors to Teslemetry ( #126166 )
...
* start
* More
* fix init
* Update requirements_all.txt
* Update requirements_test_all.txt
* Add Tests
* Add missing fixture
* first refresh history
* Fix mock_energy_history
* Remove failures prop
* Update test_init.py
* Actually add the sensors
* Add more icons
* suggested_display_precision
* Fix updated_once
* Fix fixture
* Review changes
* Apply suggestions from code review
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Remove init data
* Update homeassistant/components/teslemetry/coordinator.py
* ruff
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-24 10:32:38 +02:00
Brett Adams
62d70b1b10
Add energy site coordinator to Teslemetry ( #117184 )
...
* Add energy site coordinator
* Add missing string
* Add another missing string
* Aprettier
2024-05-10 12:38:20 +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
f249a9ba4b
Add API scope checks to Teslemetry ( #113640 )
2024-04-23 22:11:41 +02:00
Marc Mueller
062cc4bfce
Add empty line after module docstring [t-v] ( #112705 )
2024-03-08 10:35:23 -05: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
d45227adbb
Move asyncio lock in Teslemetry ( #109044 )
...
Use single wakelock per vehicle
2024-01-29 11:00:18 +01:00
Brett Adams
909cdc2e5c
Add Teslemetry Integration ( #108147 )
...
* Copy Paste Find Replace
* Small progress
* wip
* more wip
* Add SSE listen and close
* More rework
* Fix coordinator
* Get working
* Bump to 0.1.3
* Push to 0.1.4
* Lots of fixes
* Remove stream
* Add wakeup
* Improve set temp
* Be consistent with self
* Increase polling until streaming
* Work in progress
* Move to single climate
* bump to 0.2.0
* Update entity
* Data handling
* fixes
* WIP tests
* Tests
* Delete other tests
* Update comment
* Fix init
* Update homeassistant/components/teslemetry/entity.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Add Codeowner
* Update coverage
* requirements
* Add failure for subscription required
* Add VIN to model
* Add wake
* Add context manager
* Rename to wake_up_if_asleep
* Remove context from coverage
* change lock to context
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Improving Logger
* Add url to subscription error
* Errors cannot markdown
* Fix logger
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* rename logger
* Fix error logging
* Apply suggestions from code review
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-01-25 12:54:47 +01:00