Dal
July 5, 2022, 10:23am
2439
This is brilliant!
But it still doesnât work, though
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
Eltarius
(Eltarius)
July 5, 2022, 11:50am
2440
@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_actio n was âclosedâ
schumijo
(Jonathan)
July 6, 2022, 1:33pm
2442
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)
1 Like
whininie
(Whininie)
July 6, 2022, 5:45pm
2443
not working on thus card
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 !!!
thanks for all!
mdb17
(Mdb17)
July 6, 2022, 10:01pm
2444
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.
schumijo
(Jonathan)
July 7, 2022, 2:05pm
2445
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.
schumijo
(Jonathan)
July 7, 2022, 2:41pm
2446
And about navigation, I am working on a PR
zayigo
July 7, 2022, 9:36pm
2447
Does anyone know how I can make the graph cards fill the empty vertical space in a css grid layout?
mdb17
(Mdb17)
July 8, 2022, 3:48pm
2448
Did you ever find a solution to these issues? I am also trying to integrate that card and am having some issues.
Andras
July 8, 2022, 4:15pm
2449
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.
mdb17
(Mdb17)
July 8, 2022, 5:04pm
2450
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.
tfberg
(Tfberg)
July 8, 2022, 11:30pm
2451
This grid setting should be used:
square: false
3 Likes
dmauduit
(David MAUDUIT)
July 9, 2022, 9:05am
2452
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.
Andras
July 9, 2022, 10:12am
2453
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
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
Neekster
(Nathan K)
July 9, 2022, 10:02pm
2456
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
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