with_state_background:
  state:
    - value: 'on'
      styles:
        card:
          - background-color: var(--primary-color)
          - color: black
        icon:
          - color: black
    - value: 'home'
      styles:
        card:
          - background-color: var(--primary-color)
          - color: black
        icon:
          - color: black
    - value: 'recording'
      styles:
        card:
          - background-color: var(--primary-color)
          - color: black
        icon:
          - color: black
    - value: 'open'
      styles:
        card:
          - background-color: var(--primary-color)
          - color: black
        icon:
          - color: black
