Forssux
(Guy Forssman)
1
Hi there,
I seems to have trouble getting the custom card imswel person to a fully working state.
I see the card, but when I tap on it, a map should open …helas it doesn’t
This is my ui-lovelace.yaml
---
button_card_templates: !include_dir_merge_named "../../custom_components/ui_lovelace_minimalist/__ui_minimalist__/ulm_templates/"
title: "Minimalist"
background: "var(--background-image)"
views:
- !include views/home.yaml
I have a / config / ui_lovelace_minimalist / custom_cards /custom_card_imswel_person/custom_card_imswel_person.yaml file.
In my /config/ui_love_minimalist/dashboard/vieuws/home.yaml I have
title: "Home"
path: "home"
cards:
- type: horizontal-stack
cards:
- type: 'custom:button-card'
template: custom_card_imswel_person
variables:
ulm_card_imswel_person_entity: person.ikke
ulm_card_imswel_person_use_entity_picture: true
ulm_card_imswel_person_gps_tracker: device_tracker.my_phone
ulm_card_imswel_person_findmy_script: script.find_my_phone
- type: "custom:button-card"
template: custom_card_imswel_person
variables:
ulm_card_imswel_person_entity: person.tvrouwtje
ulm_card_imswel_person_use_entity_picture: true
ulm_card_imswel_person_gps_tracker: device_tracker.pixel_7
ulm_card_imswel_person_findmy_script: script.find_my_phone
I also placed a / config / ui_lovelace_minimalist / custom_cards / custom_card_imswel_person / NL.yaml file.
---
ulm_custom_card_imswel_person_language_variables:
variables:
ulm_custom_card_imswel_person_home: "Thuis"
ulm_custom_card_imswel_person_not_home: "Afwezig"
ulm_custom_card_imswel_person_findmy: "Zoek mijn Telefoon"
Did this card stoped working? or what am I forgetting to do
Forssux
(Guy Forssman)
2
Note to myself This card still works.
One needs to make sure that the browser_mod is working.
Furthermore for every phone in the house one needs to copy the script.
so in /config/script.yaml
find_my_phone_guy:
sequence:
- service: notify.mobile_app_pixel7_guy
data:
message: command_volume_level
data:
media_stream: alarm_stream
command: 30
- service: notify.mobile_app_pixel7_guy
data:
message: Home Assistant is searching your phone !
data:
ttl: 0
priority: high
channel: alarm_stream
mode: single
find_my_phone_eveline:
sequence:
- service: notify.mobile_app_pixel7_eveline
data:
message: command_volume_level
data:
media_stream: alarm_stream
command: 20
- service: notify.mobile_app_pixel7_eveline
data:
message: Home Assistant is searching your phone !
data:
ttl: 0
priority: high
channel: alarm_stream
mode: single
find_my_phone_lieselotte:
sequence:
- service: notify.mobile_app_nokia_xr21
data:
message: command_volume_level
data:
media_stream: alarm_stream
command: 20
- service: notify.mobile_app_nokia_xr21
data:
message: Home Assistant is searching your phone !
data:
ttl: 0
priority: high
channel: alarm_stream
mode: single
In the /config/ui_lovelace_minimalist/dashboard/views/home.yaml
title: "Home"
path: "home"
cards:
- type: horizontal-stack
cards:
- type: 'custom:button-card'
template: custom_card_imswel_person
variables:
ulm_card_imswel_person_entity: person.guy_forssman
ulm_card_imswel_person_use_entity_picture: true
ulm_card_imswel_person_gps_tracker: device_tracker.pixel7_guy
ulm_card_imswel_person_findmy_script: script.find_my_phone_guy
- type: "custom:button-card"
template: custom_card_imswel_person
variables:
ulm_card_imswel_person_entity: person.eveline
ulm_card_imswel_person_use_entity_picture: true
ulm_card_imswel_person_gps_tracker: device_tracker.pixel7_eveline
ulm_card_imswel_person_findmy_script: script.find_my_phone_eveline
- type: "custom:button-card"
template: custom_card_imswel_person
variables:
ulm_card_imswel_person_entity: person.lieselotte
ulm_card_imswel_person_use_entity_picture: true
ulm_card_imswel_person_gps_tracker: device_tracker.nokia_xr21
ulm_card_imswel_person_findmy_script: script.find_my_phone_lieselotte