Icon Color of


Hi, I would like to replace the numeric value returned with these sensors to something more visually obvious. Currently 1.0 or 0.0 representing the up/down state of network devices.I’m guessing it’s too much for the basic entities card!

I’ve made this rudimentary template and this seems to work

  - sensor:
      - name: "SynologyRouter"
        state: >
          {% if is_state('sensor.synologyrouter', '1.0') %}
              Up
            {% else %}
              Down
            {% endif %}

If this presentation is needed for one card only - you can use a custom template-entity-row instead.