Francesco68
(Francesco Scarfone)
October 9, 2024, 5:12pm
1
Come inserire il nome dello smartphone nella person card con la percentuale della batteria. Di seguito il mio codice
type: custom:vertical-stack-in-card
cards:
type: custom:mushroom-person-card
entity: person.homeassistant
icon_type: entity-picture
primary_info: state
secondary_info: last-updated
type: custom:mushroom-chips-card
chips:
type: entity
entity: sensor.iphone_di_francesco_battery_level
use_entity_picture: false
name: iPhone Battery
card_mod:
style: |
ha-card {
border: none
}
type: conditional
conditions:
entity: binary_sensor.in_meeting
state: ‘on’
chip:
type: template
double_tap_action:
action: none
icon: mdi:video-box
icon_color: red
content: In a meeting
tap_action:
action: none
hold_action:
action: none
card_mod:
style: |
ha-card {
border: none
}
alignment: center
Edwin_D
(Edwin D.)
October 9, 2024, 5:42pm
2
Hi, Welcome on the forum. 2 things though:
First, This is an English only forum.There are other forums for different languages if you prefer that.
Second, please post your cards, automations and things in a code block. Indentation matters, and the forum changes it too much if you do not use it. Thanks!
Before we begin…
This forum is not a helpdesk
The people here don’t work for Home Assistant, that’s an open source project. We are volunteering our free time to help others. Not all topics may get an answer, never mind one that helps you solve your problem.
[image]
This also isn’t a general home automation forum, this is a forum for Home Assistant and things related to it. Any question about Home Assistant, and about using things with Home Assistant, is welcome here. We can’t help you with eve…
1 Like