def METHOD_NAME(self) -> None:
    session = req.get_http_session()
    variant = self.component_config.configuration.variant
    if variant == 0 or variant == 1:
        counter_state = self.__update_variant_0_1(session)
    elif variant == 2:
        counter_state = self.__update_variant_2(session)
    else:
        raise FaultState.error("Unbekannte Variante: "+str(variant))
    counter_state.imported, counter_state.exported = self.sim_counter.sim_count(counter_state.power)
    self.store.set(counter_state)