Untitled

 avatar
unknown
plain_text
3 years ago
634 B
18
Indexable
- type: entities
        entities:
          - entity: input_boolean.mailbox
            name: Pošta ve schránce
            type: custom:secondaryinfo-entity-row
            secondary_info: >-
              {{ states('var.mailbox_count') }}x | Doručeno {{
              states('var.mailbox_last_open') }}
        title: Poštovní schránka
        state_color: false
        card_mod:
          style: |
            ha-card { 
              background-color: {{ '#fc6405' if is_state('input_boolean.mailbox', 'on') else '' }};
              color: {{ '#ffffff' if is_state('input_boolean.mailbox', 'on') else '' }};
            }
Editor is loading...