mirror of
https://github.com/flobz/psa_car_controller.git
synced 2026-08-22 17:36:15 +00:00
feat: add last update to control pannel
This commit is contained in:
committed by
Florian BEZANNIER
parent
471064de3e
commit
421f109ee9
@@ -48,7 +48,8 @@ def get_control_tabs(config):
|
||||
}
|
||||
el.append(dbc.Container(dbc.Row(children=create_card(cards)), fluid=True))
|
||||
buttons_row.extend([Button(REFRESH_SWITCH, car.vin,
|
||||
html.Img(src="assets/images/sync.svg", width="50px"),
|
||||
html.Div([html.Img(src="assets/images/sync.svg", width="50px"),
|
||||
car.status.get_energy('Electric').updated_at.strftime("%X %x")]),
|
||||
myp.remote_client.wakeup).get_html(),
|
||||
Switch(CHARGE_SWITCH, car.vin, "Charge", myp.remote_client.charge_now,
|
||||
charging_state).get_html(),
|
||||
|
||||
Reference in New Issue
Block a user