Dynamically hide cards on the frontend

Is there a way to dynamically show/hide cards? Somehow modify the “hidden” property of an entity? I’m assuming call some service but I am having trouble determining what it would be called.

Use case: only show travel time to work card in the morning before I leave for work

Currently there’s no way of doing that dynamicaly.
It’s either hidden or not.
You could workaround it with views and have one view in the mornings etc.