brita_card:
  card:
    type: vertical-stack
    cards:
      - type: entities
        entities:
          - input_number.brita_remaining_liters
          - input_datetime.brita_next_change

      - type: horizontal-stack
        cards:
          - type: custom:button-card
            template: default
            name: New filter
            entity: script.brita_new_filter
            tap_action:
              action: toggle
          - type: custom:button-card
            template: default
            name: Pour water
            entity: script.brita_pour_water
            tap_action:
              action: toggle
          - type: custom:button-card
            template: default
            name: Filter
            entity: binary_sensor.brita_should_change_filter
