Using Entity Buttons to trigger Conditional Cards

Hi!

I’m trying to set up buttons to show and hide thermostat cards and I figure I need to use Conditional Cards, but I don’t know how to link them.
So when I press the “HOME” button a thermostat card controlling the temperature when i’m home comes up, and when I press the “NIGHT” button it will disapare and a thermostat for controlling the temperature at night appears in the same spot.

I guess I need a script but can’t find anything to use. :thinking:

Any ideas? :slight_smile: