Home / Away boolean - that toggles the name on the card

Hi All -
I’m relatively new to HA - but I’ve figured out some pretty complicated things in a short time
(cameras, automations, Sonoff, ESPHome…etc.)
This one seems as though it should be simple and I’ve looked for 4-5 hours and either its way more complicated than it should be - or I’m looking for the wrong thing.

My end goal is to be able to toggle a boolean and have the card show “Maine - Home” or “Maine - Away” based on the value of the entity/switch position.

In my configuration.yaml

input_boolean:
  maine_home_away_mode:
    name: Maine

Capture

A point in the right direction would be appreciated.
Is it the Card Templater?

It seems as though it should be an option in the input_boolean …
Thanks