From 07c69e3d2ed002ecdd90b794adb0b87277661100 Mon Sep 17 00:00:00 2001 From: "Alan D. Tse" Date: Tue, 4 Feb 2020 19:43:47 -0800 Subject: [PATCH] feat: expose charger_phases --- teslajsonpy/charger.py | 1 + 1 file changed, 1 insertion(+) diff --git a/teslajsonpy/charger.py b/teslajsonpy/charger.py index 166ca493..e8dad333 100644 --- a/teslajsonpy/charger.py +++ b/teslajsonpy/charger.py @@ -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