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

Lovelace Card Mod deprecated - how to reconfigure?

$
0
0

@fribse wrote:

Hi All

I have set up all the Youtube guys I follow in a card.
Each has a config like this:

  - color_type: icon
    entity_picture: |
      [[[ return states['sensor.repairguydk'].attributes.entity_picture ]]]
    label: |
      [[[ return states['sensor.repairguydk'].state ]]]
    layout: icon_name_state2nd
    name: |
      [[[ return states['sensor.repairguydk'].attributes.friendly_name ]]]
    show_entity_picture: true
    show_label: true
    show_name: true
    tap_action:
      action: url
      url: |
        [[[ return states['sensor.repairguydk'].attributes.url ]]]
    type: 'custom:button-card'

This almost works.
I get the name, and the entity picture shown, and the label set.
But the URL stopped working?
I went to the lovelace card mod repository, and found out that it was deprecated, and “all functions are integrated into lovelace now”.

But what is wrong with the config as is?

Posts: 4

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 95272

Trending Articles



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