This is an example that has been working. It is the project of @Mattias_Persson A different take on designing a Lovelace UI
Everything worked perfectly, but I don’t know why it stopped working.
In the eno registry I have nothing to do with the integration. In fact I reinstalled it and it started to recognize new devices
action: fire-dom-event
browser_mod:
command: popup
title: Pablo
style:
hui-vertical-stack-card:
$: |
button-card {
align-self: center;
padding: .2em 0 2em 0;
}
hui-history-graph-card {
padding: 0 1em 0 1em;
}
$hui-entities-card$: |
#states {
padding-left: 2em;
padding-bottom: .9em;
}
$hui-glance-card$: |
.entities {
padding: 12px 29px 4px 26px !important;
}
$hui-map-card:
$: |
#root {
height: 27em;
padding-bottom: 0 !important;
}
ha-icon-button {
color: var(--primary-color);
zoom: 112%;
margin-top: 0.5em;
}
ha-card {
border-top: 2px solid #1a1a1a;
border-radius: 0;
transition: none;
}
$ha-map$: |
#map {
background-color: #191919 !important;
}
.leaflet-control-attribution {
display: none;
}
.leaflet-bar a {
background-color: rgba(115, 123, 124, 0.2) !important;
color: #9da0a2 !important;
backdrop-filter: blur(0.25em);
zoom: 120%;
}
card:
type: grid
columns: 1
square: false
cards:
- type: entities
entities:
- entity: person.pablo_fiscella
secondary_info: last-changed
- type: history-graph
entities:
- entity: person.pablo_fiscella
hours_to_show: 24
refresh_interval: 0
- type: glance
show_state: false
entities:
- entity: device_tracker.celu_pablo_ping
name: Router
icon: mdi:wifi
style: &style |
state-badge {
color: {{ '#3182b7' if is_state(config.entity, 'home') else '#3c3f3f' }};
}
- entity: device_tracker.galaxy_s10_de_pablo
name: Bluetooth
icon: mdi:bluetooth
style: *style
- entity: device_tracker.sm_g973f
name: Position
icon: custom:iphone-modern
style: *style
- type: custom:button-card
name: Reproducir audio en Samsung S10
icon: mdi:volume-high
tap_action:
action: call-service
service: script.pablo_find_my_phone
template: icon_name
- type: map
entities:
- device_tracker.sm_g973f
default_zoom: 16
dark_mode: true