File tree Expand file tree Collapse file tree
packages/modules/common/store Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,6 +33,13 @@ def update(self):
3333 "/get/evse_current" , self .state .evse_current , 2 )
3434 pub_to_broker ("openWB/set/internal_chargepoint/" + str (self .num ) +
3535 "/get/max_evse_current" , self .state .max_evse_current , 2 )
36+ if self .state .soc is not None :
37+ pub_to_broker ("openwb/set/internal_chargepoint/" + str (self .num ) + "/get/soc" , self .state .soc )
38+ if self .state .soc_timestamp is not None :
39+ pub_to_broker ("openwb/set/internal_chargepoint/" + str (self .num ) +
40+ "/soc_timestamp" , self .state .soc_timestamp )
41+ if self .state .rfid_timestamp is not None :
42+ pub_to_broker ("openwb/set/internal_chargepoint/" + str (self .num ) + "/vehicle_id" , self .state .vehicle_id )
3643
3744
3845def get_internal_chargepoint_value_store (id : int ) -> ValueStore [ChargepointState ]:
You can’t perform that action at this time.
0 commit comments