mirror of
https://github.com/home-assistant/core.git
synced 2025-05-31 19:27:06 +00:00
Add energy added attribute to Tesla charging rate sensor (#32368)
* Add charge_energy_added attribute * Bump teslajsonpy
This commit is contained in:
parent
7678d66464
commit
6a6bf517fe
@ -3,7 +3,12 @@
|
|||||||
"name": "Tesla",
|
"name": "Tesla",
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"documentation": "https://www.home-assistant.io/integrations/tesla",
|
"documentation": "https://www.home-assistant.io/integrations/tesla",
|
||||||
"requirements": ["teslajsonpy==0.3.0"],
|
"requirements": [
|
||||||
|
"teslajsonpy==0.4.0"
|
||||||
|
],
|
||||||
"dependencies": [],
|
"dependencies": [],
|
||||||
"codeowners": ["@zabuldon", "@alandtse"]
|
"codeowners": [
|
||||||
}
|
"@zabuldon",
|
||||||
|
"@alandtse"
|
||||||
|
]
|
||||||
|
}
|
@ -95,6 +95,7 @@ class TeslaSensor(TeslaDevice, Entity):
|
|||||||
self._attributes = {
|
self._attributes = {
|
||||||
"time_left": self.tesla_device.time_left,
|
"time_left": self.tesla_device.time_left,
|
||||||
"added_range": self.tesla_device.added_range,
|
"added_range": self.tesla_device.added_range,
|
||||||
|
"charge_energy_added": self.tesla_device.charge_energy_added,
|
||||||
"charge_current_request": self.tesla_device.charge_current_request,
|
"charge_current_request": self.tesla_device.charge_current_request,
|
||||||
"charger_actual_current": self.tesla_device.charger_actual_current,
|
"charger_actual_current": self.tesla_device.charger_actual_current,
|
||||||
"charger_voltage": self.tesla_device.charger_voltage,
|
"charger_voltage": self.tesla_device.charger_voltage,
|
||||||
|
@ -1984,7 +1984,7 @@ temperusb==1.5.3
|
|||||||
# tensorflow==1.13.2
|
# tensorflow==1.13.2
|
||||||
|
|
||||||
# homeassistant.components.tesla
|
# homeassistant.components.tesla
|
||||||
teslajsonpy==0.3.0
|
teslajsonpy==0.4.0
|
||||||
|
|
||||||
# homeassistant.components.thermoworks_smoke
|
# homeassistant.components.thermoworks_smoke
|
||||||
thermoworks_smoke==0.1.8
|
thermoworks_smoke==0.1.8
|
||||||
|
@ -678,7 +678,7 @@ sunwatcher==0.2.1
|
|||||||
tellduslive==0.10.10
|
tellduslive==0.10.10
|
||||||
|
|
||||||
# homeassistant.components.tesla
|
# homeassistant.components.tesla
|
||||||
teslajsonpy==0.3.0
|
teslajsonpy==0.4.0
|
||||||
|
|
||||||
# homeassistant.components.toon
|
# homeassistant.components.toon
|
||||||
toonapilib==3.2.4
|
toonapilib==3.2.4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user