Lovelace conditional card

Hello,
I am using HA version 0.118.2.
It seems tthat there is a bug in the display of conditional card.
On the setup popup the card is displayed following the condition true or false but on the screen the display stays with condition true .

type: conditional
conditions:
  - entity: binary_sensor.mode_ch_parents
    state: 'off'
card:
  action: more-info
  color: auto
  color_type: icon
  entity: sensor.consigne_ch_parents_local
  layout: vertical
  name: Cons Local
  show_last_changed: false
  show_name: false
  show_state: true
  size: 80%
  aspect_ratio: 1/0.6
  state:
    - color: blue
      icon: 'mdi:target'
      operator: <=
      value: 18
    - color: red
      icon: 'mdi:target'
      operator: '>='
      value: 21
    - color: orange
      icon: 'mdi:target'
      operator: default
  styles:
    card:
      - font-size: 12px
      - font-weight: normal
      - color: 'rgb(0, 80, 200)'
  type: 'custom:button-card'

Condition true on setup windows
lovelace-condition-card-true

Condition false on setup windows
lovelace-condition-card-false

1 Like

Hello
Could someone give an answer ?

I have just sterted experimenting with conditional card and I am experiencing exactly the same problem.