Visibility with Streamline Card

I've been using streamline-card to create templates for commonly used cards for my dashboard. I understand that they should support visibility. However, I've not gotten it to work. Has anyone gotten this to work? Here is my template.

card:
  type: custom:bubble-card
  card_type: button
  button_type: state
  entity: "[[meal_entity]]"
  visibility:
    - condition: state
      state_not: Empty
  tap_action:
    action: none
  button_action:
    tap_action:
      action: none