Operating status with red - green status

Hello!

As a newcomer, I face a major challenge :wink:

I want to realize a remote display of the status of the washing machine for my wife - but fail because of that.

Is there an easy way to signal switching states with RED / Green?

I record the condition of measuring the current of my washing machine with a socket (GOS and SP11 with Tasmota).
As soon as the set value is exceeded, an advertisement should be triggered - messages are already being sent :wink:

But the optical signaling drives me crazy …

The following values:
green = <1 watt consumption and longer than a minute (washing machine is ready)
red => 2 watt consumption (washing machine is running)

rot-gruen

I’ve only been here for two weeks, but some of them lack the background.
Likewise, I’m unfortunately only able to speak English to a limited extent, so I apologize for my poor writing style

Thank you for your help!

Gerald

Ooof, 4 years and no answer. Sorry about that. I went looking for the same thing and couldn’t find an answer, so I made something up that seems to work. This uses the Mushroom Template card added via HACS. I’m using it to monitor the health of hard drives in two of my servers. Looks like I’ve got a drive to replace.

type: vertical-stack
cards:
  - type: custom:mushroom-template-card
    primary: Ara
    secondary: boot
    icon: mdi:harddisk
    icon_color: >-
      {%- if is_state('binary_sensor.boot_pool_healthy', 'on') %}green 
      {% else %}red {% endif -%}
    entity: binary_sensor.ara_healthy
    layout: horizontal
    multiline_secondary: false
    tap_action:
      action: more-info
  - type: custom:mushroom-template-card
    primary: Ara
    secondary: ara
    icon: mdi:harddisk
    icon_color: >-
      {%- if is_state('binary_sensor.ara_healthy', 'on') %}green 
      {% else %}red {% endif -%}
    entity: binary_sensor.ara_healthy
    layout: horizontal
    multiline_secondary: false
    tap_action:
      action: more-info
  - type: custom:mushroom-template-card
    primary: Ara
    secondary: nvr
    icon: mdi:harddisk
    icon_color: >-
      {%- if is_state('binary_sensor.nvr_healthy', 'on') %}green 
      {% else %}red {% endif -%}
    entity: binary_sensor.ara_healthy
    layout: horizontal
    multiline_secondary: false
    tap_action:
      action: more-info
  - type: custom:mushroom-template-card
    primary: Crater
    secondary: boot
    icon: mdi:harddisk
    icon_color: >-
      {%- if is_state('binary_sensor.boot_pool_healthy_2', 'on') %}green
      {% else %}red {% endif -%}
    entity: binary_sensor.ara_healthy
    layout: horizontal
    multiline_secondary: false
    tap_action:
      action: more-info
  - type: custom:mushroom-template-card
    primary: Crater
    secondary: backups
    icon: mdi:harddisk
    icon_color: >-
      {%- if is_state('binary_sensor.backups_healthy', 'on') %}green  
      {% else %}red {% endif -%}
    entity: binary_sensor.ara_healthy
    layout: horizontal
    multiline_secondary: false
    tap_action:
      action: more-info