Lovelace Picture-Elements Card error: 'Unknown type encountered: markdown'

Dear Coders,

I am a beginner in this field. Please, help me to fix my ‘Unknown type encountered: markdown’ error message.

Screenshot 2023-01-31 081209

My configuration.yaml file:

default_config:
tts:
  - platform: google_translate
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
frontend:
  themes: !include my-theme.yaml

lovelace:
  mode: yaml
  resources:
    - url: /local/button-card.js
      type: module
  dashboards:
    lovelace-02-fly:
      mode: yaml
      filename: love-02-fly.yaml
      title: Fuck
      icon: mdi:home-floor-2
      show_in_sidebar: true
      require_admin: true

The love-02-fly.yaml file:

title: This will work soon
views:
  - theme: theme-3dsmax
    path: Love-02
    type: panel
    cards:
      - type: picture-elements
        image: local/images/FloorPlan-Background.png
        elements:
          - type: markdown
            title: "This is the title"
            content: "This is the content."
            style:
              left: 50%
              top: 20%

Thank you for your help in advance.

I don’t think that markdown is a valid type within the picture elements card. You could use the HACS hui-element integration to do this.

1 Like

HACS hui-element works well. :slight_smile:
Thank you very much!

1 Like