Problem with mushroomv template

Not sure what I have wrong here, using mushroom template card to display a motion sensor on a dashboard. I would like for it to simply say “clear” or “detected”. Not sure how to get rid of the “off” and “on” as pictured. Also how to make it centered in the box so it matches the other cards (without using vertical mode as it makes it to tall)

{% if is_state('binary_sensor.konnected_entry_motion_sensor', 'on') %}
  Detected
{% else %}
  Clear
{% endif %}

Show is the whole code of that card.

For alignment see lovelace-mushroom/template.md at 188609e0b051e4713e98ab08a504c615fd44c758 · piitaya/lovelace-mushroom · GitHub

2 Likes