Help with glance card

I have a glance card and i want it to update every second, How can i do this?

I have tried doing it with refresh_interval but it isn’t working.

The UI should update when the underlying sensor updates