code: def update(self):
          
          self._controller.update(self._id, wake_if_asleep=False)
          data = self._controller.get_charging_params(self._id)
          if data and (time.time() - self.__manual_update_time > 60):
              if data['charging_state'] != "Charging":
                  self.__charger_state = False
              else:
                  self.__charger_state = True
docs: Update the charging state of the Tesla Vehicle.