Lothar Bach
ecd8dde347
Fix path to tesla fleet key file in config folder ( #130124 )
...
* Tesla Fleet load key file from config folder
* Fix test
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-11-09 23:21:29 +01:00
Brett Adams
94db78a0be
Add signing support to Tesla Fleet ( #128407 )
...
* Add command signing
* wip
* Update tests
* requirements
* Add test
2024-11-05 20:04:55 +01:00
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
ce7e2e3243
Clean up SensorRestore in Tesla Fleet ( #129116 )
...
* Remove, fix, and test restore
* slightly better comment
* use restore instead
* parametrize test
* Apply suggestions from code review
* revert change to Teslemetry
* revert change to Teslemetry
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-10-29 11:41:35 +01:00
G Johansson
666e8e133e
Cover state is enum ( #127144 )
...
* Change light state to use enum
* Adjust cover tests
* Update cover
* Fix covers
* Some tests
* More tests
* Fix tests
* Fix
2024-10-08 18:39:04 +02:00
JEMcats
eac930ad7f
Add Tesla Fleet grid status ( #126438 )
...
* Make Changes.
* Change to match suggested changes.
* add Possible States to island status
* remove storm watch active sensor.
* Update the test_*.ambr files
* Update *.ambr files
* Add more infromation to Grid Status
* Remove storm mode strings and icons
2024-10-07 22:18:40 +02:00
Brett Adams
213cc14494
Fix wake up in Tesla Fleet ( #127615 )
2024-10-05 12:04:10 +02:00
G Johansson
c6a1b9fc39
Change Climate set temp action for incorrect feature will raise ( #126692 )
...
* Change Climate set temp action for incorrect feature will raise
* Fix some tests
* Fix review comments
* Fix tesla_fleet
* Fix tests
* Fix review comment
2024-09-25 21:16:14 +02:00
Brett Adams
eccb7bb55f
Add Storm watch active to Tesla integrations ( #126704 )
2024-09-25 09:05:33 +02:00
G Johansson
d06d0a8f83
Fix tesla_fleet climate temp high/low test ( #126631 )
2024-09-24 14:56:46 +02:00
G Johansson
93aade6e8e
Change lock state to an enum ( #126379 )
...
* Add new LockState enum for lock states
* Add rest
* Fix insteon tests
* Fix mqtt tests
* Fix tesla_fleet
* Revert back ST_STATE_LOCKED
* Add back constant
2024-09-24 12:30:50 +02:00
Brett Adams
a1abea4e0f
Add button platform to Tesla Fleet ( #126410 )
...
* Add button platform
* Fix tests
* Fix button setup
* Make func required
* do_nothing
2024-09-23 13:48:00 +02:00
Brett Adams
e3351db3d8
Add lock platform to Tesla Fleet ( #126412 )
...
* Add lock platform
* Add lock platform tests
* Fix json
2024-09-23 12:52:13 +02:00
Brett Adams
66d310977d
Add cover platform to Tesla Fleet ( #126411 )
...
Add cover platform
2024-09-22 14:27:09 +02:00
Brett Adams
f073e45575
Add media player to Tesla Fleet ( #126416 )
...
* Add media player platform
* Use MediaPlayerState
* Revert change
2024-09-22 14:17:07 +02:00
Brett Adams
fdc58f952e
Add number platform to Tesla Fleet ( #125985 )
...
* Add number platform
* Actually add the umber platform files
2024-09-16 13:38:45 +02:00
Brett Adams
e3c2f81506
Add select platform to Tesla Fleet ( #125931 )
...
* Add Select Platform
* Add Select strings and icons
* Add tests
* Clean up fixture
2024-09-16 12:26:11 +02:00
Brett Adams
e71709f0ec
Add switch platform to Tesla Fleet ( #125798 )
...
* Add switch platform
* Add tests
2024-09-13 14:15:25 +02:00
Brett Adams
6ecc5c19a2
Add climate platform to Tesla Fleet ( #123169 )
...
* Add climate
* docstring
* Add tests
* Fix limited scope situation
* Add another test
* Add icons
* Type vehicle data
* Replace inline temperatures
* Fix handle_vehicle_command type
* Fix preset turning HVAC off
* Fix cop_mode check
* Use constants
* Reference docs in command signing error
* Move to a read-only check
* Remove raise_for
* Fixes
* Tests
* Remove raise_for_signing
* Remove unused strings
* Fix async_set_temperature
* Correct tests
* Remove HVAC modes at startup in read-only mode
* Fix order of init actions to set hvac_modes correctly
* Fix no temp test
* Add handle command type
* Docstrings
* fix matches and fix a bug
* Split tests
* Fix issues from rebase
2024-09-03 14:38:47 +02:00
epenet
7652c35ee6
Use start_reauth helper method in integration tests (t) ( #124794 )
2024-08-28 16:47:10 +02:00
Brett Adams
e39b3796f3
Fix OAuth reauth in Tesla Fleet ( #124744 )
...
* Fix auth failure
* Test
* Fix test
* Only reauth on 401
* Cover 401 and others
* Update homeassistant/components/tesla_fleet/strings.json
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
---------
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2024-08-28 14:58:16 +02:00
Brett Adams
9b78ae5908
Handle InvalidRegion in Tesla Fleet ( #123958 )
2024-08-15 11:00:07 +02:00
Brett Adams
dde1ecbf5b
Improve code quality of Tesla Fleet tests ( #123959 )
2024-08-15 09:59:08 +02:00
Joost Lekkerkerker
e8d7eb05ae
Delete unused snapshots ( #123656 )
...
* Delete unused snapshots
* Delete unused snapshots
2024-08-12 13:28:09 +02:00
Brett Adams
f8e1c2cfd4
Rework OAuth in Tesla Fleet ( #123324 )
...
* Rework Oauth
* Improve docstrings
* Update homeassistant/components/tesla_fleet/oauth.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* review feedback
* Add tests for user creds
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-08-09 08:38:12 +02:00
Brett Adams
764166342e
Add missing application credential to Tesla Fleet ( #123271 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2024-08-07 13:11:03 +02:00
Brett Adams
621bd5f0c3
Add dynamic coordinator interval to Tesla Fleet ( #122234 )
...
* Add dynamic rate limiter
* tweaks
* Revert min polling back to 2min
* Set max 1 hour
* Remove redundant update_interval
* Tuning and fixes
* Reduce double API calls
* Type test
* Remove RateCalculator
2024-07-26 09:40:49 +02:00
Brett Adams
31d3b3b675
Handle empty energy sites in Tesla integrations ( #122355 )
2024-07-22 13:14:15 +02:00
Brett Adams
0f079454bb
Add device tracker to Tesla Fleet ( #122222 )
2024-07-20 14:37:57 +02:00
Brett Adams
2b93de1348
Add binary sensor to Tesla Fleet ( #122225 )
2024-07-20 11:28:30 +02:00
Brett Adams
6f9e39cd3f
Add diagnostics to Tesla Fleet ( #122223 )
2024-07-20 11:22:15 +02:00
Brett Adams
a2c2488c8b
Add Tesla Fleet integration ( #122019 )
...
* Add Tesla Fleet
* Remove debug
* Improvements
* Fix refresh and stage tests
* Working oauth flow test
* Config Flow tests
* Fixes
* fixes
* Remove comment
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Remove TYPE_CHECKING
* Add more tests
* More tests
* More tests
* revert teslemetry change
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-07-19 09:05:27 +02:00