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

39 Commits

Author SHA1 Message Date
Josh Pettersen
b629ad9c3d
Add individual battery banks as devices () 2024-01-30 19:03:01 -10:00
Josh Pettersen
2f9f0bae46
Add generic typing for powerwall sensors () 2024-01-30 16:28:27 -10:00
bubonicbob
c74bef265a
Update powerwall for tesla_powerwall 0.5.0 which is async ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-01-10 11:21:53 -10:00
Erik Montnemery
0c2485bc03
Freeze integration entity descriptions ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Joost Lekkerkerker
0ab0901f0f
Add entity translations to Powerwall () 2023-08-22 21:58:57 +02:00
Marc Mueller
e170681016
Improve DataUpdateCoordinator typing in integrations (3) () 2022-12-27 22:49:23 +01:00
epenet
ebdf9a8658
Use UnitOfEnergy in integrations (o-z) () 2022-12-19 10:58:37 +01:00
epenet
0184aadb09
Use UnitOfElectricPotential in integrations () 2022-12-15 13:59:21 +01:00
epenet
946d5535b4
Use UnitOfFrequency in integrations () 2022-12-13 11:47:06 +01:00
epenet
3edb0969de
Use UnitOfPower in integrations [h-r] () 2022-12-12 11:41:58 +01:00
epenet
7c3ca38eb7
Use UnitOfElectricCurrent in integrations () 2022-12-09 10:51:26 +01:00
Matt Zimmerman
8c00fde27d
[powerwall] Skip backup reserve sensor if data is unavailable () 2022-04-07 20:34:00 -07:00
J. Nick Koston
4cc8998ea7
Make powerwall attribute sensors their own sensors () 2022-03-18 21:23:26 +01:00
J. Nick Koston
78a49eb9e8
Partially revert powerwall abs change from () 2022-03-01 14:00:48 -10:00
Matt Zimmerman
d077c3b8d1
Add sensor to expose Powerwall backup reserve percentage () 2022-02-28 09:31:34 -10:00
J. Nick Koston
3f16c6d6ef
Fix powerwall data incompatibility with energy integration () 2022-02-25 20:20:56 +01:00
J. Nick Koston
e1989e2858
Enable strict typing for powerwall () 2022-02-23 12:15:31 +01:00
J. Nick Koston
8593d07883
Add state class to powerwall charge sensor () 2022-01-25 20:36:04 -08:00
epenet
8756fa28e2
Add setup type hints [o-q] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 16:29:21 +01:00
Robert Hillis
619529b40c
Use enums in Powerwall () 2021-12-16 11:38:56 -06:00
jrester
e66064fb3e
Update tesla_powerwall to 0.3.11 () 2021-10-05 19:40:37 +02:00
Erik Montnemery
7812b50572
Remove last_reset attribute and set state class to total_increasing for powerwall energy sensors () 2021-08-18 13:37:43 +02:00
Erik Montnemery
87e7a8fb5f
Move temperature conversions to sensor base class - new integrations ()
* Move temperature conversions to sensor base class

* Tweaks

* Update pvpc_hourly_pricing

* Fix flipr sensor

* Fix ezviz and youless sensor
2021-08-15 08:51:43 +02:00
Erik Montnemery
103e21c278
Move temperature conversions to sensor base class (5/8) () 2021-08-12 13:26:17 +02:00
J. Nick Koston
25f3cdde50
Add powerwall import and export sensors ()
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-08-09 16:03:22 -07:00
Marc Mueller
6be30b0289
Use unit constants ()
* Powerwall - use POWER_KILO_WATT constant

* Use constants firtz sensor
2021-07-20 20:08:39 +02:00
Paulus Schoutsen
c31f267106
Add state class to powerwall () 2021-06-22 23:19:02 -07:00
Barry Quiel
c079803fcb
Powerwall add Current attribute () 2021-05-13 11:12:48 -05:00
Erik Montnemery
c900e3030b
Migrate integrations n-q to extend SensorEntity () 2021-03-22 19:46:46 +01:00
Erik Montnemery
14ff6d4d1f
Update integrations p-s to override extra_state_attributes() () 2021-03-11 21:23:20 +01:00
jrester
734972f876
Update tesla_powerwall to 0.3.3 () 2020-10-08 08:26:44 -05:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant () 2020-09-05 21:09:14 +02:00
J. Nick Koston
f7d1cfb625
Update powerwall to use CoordinatorEntity () 2020-08-30 14:37:11 +02:00
jrester
4a5cf5cd2b
Powerwall sensor add is_active, round state attributes and change thresholding for charging status sensor ()
* Change sensor values and thresholding

* Update tests
2020-04-23 10:00:38 -05:00
jrester
3776a06281
Use serial numbers for unique_id of powerwall devices ()
* Update tesla-powerwall to version 0.2.5

* Create unique_id from serial numbers of powerwalls
	modified:   homeassistant/components/powerwall/__init__.py
	modified:   homeassistant/components/powerwall/binary_sensor.py
	modified:   homeassistant/components/powerwall/const.py
	modified:   homeassistant/components/powerwall/entity.py
	modified:   homeassistant/components/powerwall/sensor.py
	modified:   tests/components/powerwall/mocks.py
	modified:   tests/components/powerwall/test_sensor.py

* Fix pylint error
	modified:   homeassistant/components/powerwall/__init__.py
2020-04-17 16:21:14 -05:00
jrester
6924192523
Use updated powerwall client API library ()
* Use updated powerwall client API library

* Increase instant_power precision to 3

* Add @jrester as code owner for powerwall
2020-04-13 21:59:50 +02:00
J. Nick Koston
ca0648afe8
Fix powerwall units (kW) ()
* Fix powerwall units (kW)

* Fix test

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-04-10 09:33:58 -07:00
J. Nick Koston
e6ed2f0377
Add version and device type to powerwall device_info ()
* Add version and device type to powerwall device_info

* Upstream powerwall now supports a http_session
2020-03-31 12:55:50 -07:00
J. Nick Koston
5b4d2aed64
Add Powerwalls integration ()
* Create an integration for Powerwalls

* Self review :: remove unused code

* Remove debug

* Update homeassistant/components/powerwall/__init__.py

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

* _call_site_info to module level

* Update homeassistant/components/powerwall/binary_sensor.py

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/powerwall/sensor.py

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/powerwall/binary_sensor.py

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/powerwall/binary_sensor.py

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

* Update tests/components/powerwall/test_binary_sensor.py

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/powerwall/binary_sensor.py

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/powerwall/binary_sensor.py

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

* remove sensors that I added tests for from the comment

* Update homeassistant/components/powerwall/config_flow.py

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/powerwall/sensor.py

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/powerwall/sensor.py

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/powerwall/sensor.py

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

* Switch to UNIT_PERCENTAGE

* reduce code

* Add test for import

* Adjust tests

* Add missing file

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-03-19 10:50:17 -05:00