diff --git a/psa_car_controller/web/view/control.py b/psa_car_controller/web/view/control.py index 3d3e562..5a4b2c3 100644 --- a/psa_car_controller/web/view/control.py +++ b/psa_car_controller/web/view/control.py @@ -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(),