🌻 Lovelace UI • Minimalist

This is brilliant!
But it still doesn’t work, though :frowning:
I have created a binary sensor:

- platform: template
  sensors:
    bs_door_open:
      friendly_name: "Utedør - Dørstatus - Binary Sensor"
      value_template: "{{ states('sensor.utedor_las_action') }}"
      attribute_templates:
        door_state: "{{ state_attr('sensor.utedor_las_action', 'door_state') }}"

And used it like this:

- type: "custom:button-card"
        entity: lock.utedor_las
        template: "custom_card_eraycetinay_lock"
        name: "Dørlüs"
        variables:
          ulm_custom_card_eraycetinay_lock_tap_control: true
          ulm_custom_card_eraycetinay_lock_battery_level: sensor.utedor_las_battery
          ulm_custom_card_eraycetinay_lock_door_open: binary_sensor.bs_door_open
        triggers_update:
          - "sensor.utedor_las_battery"
          - "binary_sensor.bs_door_open"

But nothing changes when opening / closing the door.

A glance into Developer Tools → States shows this:

So the senor itself seems to work well enough.
Thanks

@Dal My bad, edit your binary sensor like this:

- platform: template
  sensors:
    bs_door_open:
      friendly_name: "Utedør - Dørstatus - Binary Sensor"
      value_template: "{{ is_state_attr('sensor.utedor_las_action','door_state','closed') }}"

Your binary sensor watch if attribute door_state of your sensor.utedor_las_action was “closed”

aah really :frowning: thats ugly,

maybe in next release?

In fact, there is a “workaround” to customize actions for each card.
Just define action variables on your card in your dashboard yaml.
For example :

   type: "custom:button-card"
    template: "card_power_outlet"
    entity: "switch.metered_wall_plug_switch_3"
    variables:
      ulm_card_power_outlet_consumption_sensor: sensor.metered_wall_plug_switch_power_3
      ulm_card_tap_action: "more-info"

It will overwrite global custom actions.

All available variables :

ulm_icon_tap_action
ulm_icon_double_tap_action
ulm_icon_hold_action
ulm_name_tap_action
ulm_name_double_tap_action
ulm_name_hold_action

I know there is still some limitations (can’t define navigate action for example) :wink:

1 Like

not working on thus card :frowning:

template: custom_card_ristou_person

  - type: "custom:button-card"
    template: custom_card_ristou_person
    entity: person.xxx.xxx
    variables:
      ulm_card_tap_action: "more-info"
      ulm_custom_card_ristou_use_entity_picture: true

and i need really the navigation action !!! :exploding_head: :exploding_head:

thanks for all!

Hey I am new to this whole project but was wondering if it is possible for the media player card to display background art of the app that is currently opened.

Custom actions are working with official cards.
For custom cards, it is up to developpers to integrate it or not.
In this case, card actions are only available on the left part of the card.
Sans titre

And about navigation, I am working on a PR :wink:

Does anyone know how I can make the graph cards fill the empty vertical space in a css grid layout?

Did you ever find a solution to these issues? I am also trying to integrate that card and am having some issues.

No, the problem of missing map when opening for the first time is still there, but I tried to live with it. Otherwise the card is working fine, I even modified it a bit to show mobile data/Wi-Fi connection and phone battery status.

Where did you find the script for the find my phone? I am also unsure how to implement a Wi-Fi device tracker for the ulm_card_imswel_person_wifi_tracker: variable.

This grid setting should be used:

square: false

3 Likes

When I add an entity to custom_card_graph to fix the naming issue I get this:

  - type: 'custom:button-card'
    template: custom_card_graph
    entity: sensor.processor_temperature
    variables:
      ulm_card_graph_color: "var(--google-red)"
      ulm_card_graph_name: Temp CPU
      ulm_card_graph_entity: sensor.processor_temperature
      ulm_card_graph_type: fill
      ulm_card_graph_hours: 24
    item2:
      card:
        points_per_hour: 2
        hour24: true

Before it was working fine.

You should use a Wi-Fi based device tracker based on this:

Device Tracker - Home Assistant (home-assistant.io)

Or if you have Xiaomi router for example, you can use this custom component:

dmamontov/hass-miwifi: MiWiFi for Home Assistant (github.com)

Hi there.

Can anyone point me in the right direction on changing light button colors??

i would like to use a different color to determine between switches and dimmers.

Specifically id like to use blue for switches and green for dimmers instead of the default orange.

Thanks.

              - type: "custom:button-card"
                template: card_light
                entity: switch.kitchen
                variables:
                  ulm_card_light_icon: mdi:fridge-outline
                  ulm_card_light_name: Kitchen
                  ulm_card_light_enable_slider: false
                  ulm_card_light_force_background_color: false
                  ulm_card_light_enable_popup: false
                  ulm_card_light_enable_popup_tap: false

I tried setting up the cusom apex card. But this is what I got? Can’t really read whats wrong

apex

yaml code:

          - type: custom:button-card
            template: custom_card_apexcharts
            variables:
              chart_type: donut
              graph_span: 1d
              entity_1:
                entity_id: sensor.tomat_plante_manuel_moisture
                icon: ''
                name: Fuktighet
                color: blue
                max_value: 300
              entity_2:
                entity_id: sensor.tomat_plante_manuel_brightness
                icon: ''
                name: Lys
                color: yellow
                max_value: 50
              entity_3:
                entity_id: sensor.tomat_plante_manuel_temperature
                icon: ''
                name: Temperatur
                color: green
                max_value: 30

Do you have the Apexcharts custom card installed via HACS?

Thank you! Thats what you get for trying out a new card late at night - miss the requirements section :sweat_smile:

I believe you do something like this

              - type: "custom:button-card"
                template: 
                  - card_light
                  - blue
                entity: switch.kitchen
                variables:
                  ulm_card_light_icon: mdi:fridge-outline
                  ulm_card_light_name: Kitchen
                  ulm_card_light_enable_slider: false
                  ulm_card_light_force_background_color: false
                  ulm_card_light_enable_popup: false
                  ulm_card_light_enable_popup_tap: false