Brett Adams
eccb7bb55f
Add Storm watch active to Tesla integrations ( #126704 )
2024-09-25 09:05:33 +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
Erik Montnemery
38ef216894
Update icons.json to new service schema part 4 ( #124771 )
2024-08-28 13:48:13 +02:00
Brett Adams
de8bccb650
Add services to Teslemetry ( #119119 )
...
* Add custom services
* Fixes
* wip
* Test coverage
* Update homeassistant/components/teslemetry/__init__.py
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Add error translations
* Translate command error
* Fix test
* Expand on comment as requested
* Remove impossible cases
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-06-25 12:44:06 +02:00
Brett Adams
af8542ebe1
Add button platform to Teslemetry ( #117227 )
...
* Add buttons
* Add buttons
* Fix docstrings
* Rebase entry.runtime_data
* Revert testing change
* Fix tests
* format json
* Type callable
* Remove refresh
* Update icons.json
* Update strings.json
* Update homeassistant/components/teslemetry/button.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* import Awaitable
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-05-26 09:04:07 +02:00
Brett Adams
ec76f34ba5
Add device tracker platform to Teslemetry ( #117341 )
2024-05-25 12:29:27 +01:00
Brett Adams
b99476284b
Add Cover platform to Teslemetry ( #117340 )
...
* Add cover
* Test coverage
* Json lint
* Apply suggestions from code review
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Update tests
* Fix features
* Update snapshot from fixture
* Apply suggestions from code review
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-05-24 12:09:23 +02:00
Brett Adams
ad90ecef3f
Add binary sensor platform to Teslemetry ( #117230 )
...
* Add binary sensor platform
* Add tests
* Cleanup
* Add refresh test
* Fix runtime_data after rebase
* Remove streaming strings
* test error
* updated_once
* fix updated_once
* assert_entities_alt
* Update homeassistant/components/teslemetry/binary_sensor.py
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-05-24 08:55:27 +02:00
Brett Adams
3c7857f0f0
Add lock platform to Teslemetry ( #117344 )
...
* Add lock platform
* Tests and fixes
* Fix json
* Review Feedback
* Apply suggestions from code review
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* wording
* Fix rebase
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-05-24 08:26:29 +02:00
Brett Adams
880b315890
Add switch platform to Teslemetry ( #117482 )
...
* Add switch platform
* Add tests
* Add test
* Fixes
* ruff
* Rename to storm watch
* Remove valet
* Apply suggestions from code review
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* ruff
* Review feedback
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-05-23 14:28:18 +02:00
Brett Adams
4125b6e15f
Add select platform to Teslemetry ( #117422 )
...
* Add select platform
* Add tests
* Tests WIP
* Add tests
* Update homeassistant/components/teslemetry/select.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/teslemetry/select.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* use references
* Fix typo
* Update homeassistant/components/teslemetry/select.py
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Update homeassistant/components/teslemetry/select.py
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Make less confusing for @joostlek
* Update homeassistant/components/teslemetry/select.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/teslemetry/select.py
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-05-15 18:17:28 +02:00
Brett Adams
219cb7a788
Add additional sensors to Teslemetry ( #112555 )
...
* Add more sensors
* Fix coverage
* Dont do this rename yet
* Fix case
* Update snapshot
* Add icons
* Remove unused icons
* Update snapshot
* Remove last_value logic from TimeSensor
* Apply suggestions from code review
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Update constant case
* Remove useless test
* Add refresh test back
* Add assertion to post coordinator refresh
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-03-16 11:54:37 +01:00
Brett Adams
1dc3582778
Add icons to Teslemetry ( #112546 )
2024-03-12 21:06:09 +01:00
Stephen Brown II
171bb80b3f
Add icon translations to Teslemetry ( #109928 )
...
* [Teslemetry] Create icons.json
Adds Icons to Teslemetry integration for climate presets.
* Update homeassistant/components/teslemetry/icons.json
Co-authored-by: Brett Adams <Bre77@users.noreply.github.com>
* Update homeassistant/components/teslemetry/icons.json
Co-authored-by: Brett Adams <Bre77@users.noreply.github.com>
---------
Co-authored-by: Brett Adams <Bre77@users.noreply.github.com>
2024-02-13 15:21:27 +01:00