Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95354

Custom element doesn't exist: hui-picture

$
0
0

@sMauldaeschle wrote:

Hi, I have issues with the lates update to 107. As mentioned in other threads elements do not load anymore. For me it is the picture element. I already installed the preloader addon. Here is what I have added to lovelace.yaml:

resources
  - url: /community_plugin/lovelace-card-preloader.js
    type: js
preload_cards:
  - picture
  - iframe
  - picture-entity
  - decluttering
  - hui-markdown-card
  - hui-picture-card
  - vertical-stack
  - horizontal-stack

And here is where I add the picture element:

    cards:
      - type: custom:vertical-stack-in-card
#        title: LIVING ROOM
        cards:
          - type: markdown
            title: Living room.
            content: >
              room climate control
          - type: picture
            image: /local/pictures/livingroom.jpg
          - type: custom:mini-graph-card
            entities: sensor.wohnzimmer_temperature_2
            name: TEMPERATURE
            icon: mdi:thermometer
            hours_to_show: 168
            points_per_hour: 0.25
            decimals: 1
            animate: true
            show:
              labels: true
          - type: custom:mini-graph-card
            entities:  sensor.wohnzimmer_humidity_2
            name: HUMIDITY
            icon: mdi:water-percent
            hours_to_show: 168
            points_per_hour: 0.25
            decimals: 0
            animate: true
            show:
              labels: true
            line_color: blue

I have no idea what else can be done. Am I using the preloader addon correctly?

Best regards,
Daniel

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95354

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>