Skip to content

Commit

Permalink
feat: expose charger_phases
Browse files Browse the repository at this point in the history
  • Loading branch information
alandtse committed Feb 5, 2020
1 parent e0631e1 commit 07c69e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions teslajsonpy/charger.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ async def async_update(self) -> None:
self.__rated = data["gui_range_display"] == "Rated"
data = self._controller.get_charging_params(self._id)
if data:
self.attrs["charger_phases"] = data["charger_phases"]
self.__added_range = (
data["charge_miles_added_rated"]
if self.__rated
Expand Down

0 comments on commit 07c69e3

Please sign in to comment.