Help with NOT condition

Hello,
I was trying to make a first NOT condition within a card, but Ì´m struggeling with the syntax, although I copied the examples from the docs:

With the following config, I´ll get an “No conditions configured.” error:

cards:
  - color: 'rgb(223, 255, 255)'
    color_type: label-card
    name: standort
    styles:
      card:
        - height: 15px
    tap_action:
      action: navigate
      navigation_path: /map
    type: 'custom:button-card'
  - cards:
      - card:
          color: black
          entities:
            - entity: sensor.pixel_4_xl_geocoded_location
              name: Philipp
              positions:
                icon: 'off'
                indicator: 'off'
                minmax: 'off'
                title: inside
                value: inside
          entity_row: true
          type: 'custom:bar-card'
        condition:
          condition: not
          conditions:
            - condition: state
              entity_id: device_tracker.pixel_4_xl
              state: home
            - condition: state
              entity_id: device_tracker.pixel_4_xl
              state: work
        type: conditional
    type: vertical-stack
type: vertical-stack

Thanks for help,
Philipp

The not condition is for use in automations and scripts, not Lovelace cards.

You want “state_not” for the Lovelace conditional card. https://www.home-assistant.io/lovelace/conditional/#state_not

Great thanks, didn´t see that in the first place. I blame the heat for that. :sleepy: