Bonjour,
Je commence un nouveau dashboard et pour ce, j’utilise pour certaines cards « picture element ».
J’ai 2 soucis :
En dessous des badges en partie haute, figure l’id de l’entité.
c’est super moche comment puis-je la supprimer ?
Je souhaite conserver l’aspect badge en bas, mais plutot que de voir le statut,
je préfèrerai mettre un(e) icone .
Est-ce possible ?
Je m’en remet a vos mains expertes
A l’avanc je vous en remercie
Mon code:
type: picture-elements
image: /local/images/bureau.png
elements:
- style:
top: 15%
'--ha-label-badge-font-size': 1em
left: 65%
type: state-badge
entity: sensor.temp_sejour_temperature
- style:
top: 15%
'--ha-label-badge-font-size': 1em
left: 85%
type: state-badge
entity: sensor.temp_sejour_humidity
- style:
top: 22%
'--ha-label-badge-font-size': 1em
left: 20%
type: state-badge
entity: sensor.multiprises_pc_puissance
- type: state-badge
style:
left: 85%
top: 75%
'--ha-label-badge-font-size': 1.2em
entity: light.multiprises_pc_prise_1
tap_action:
action: toggle
title: Lampe
hold_action:
action: navigate
navigation_path: /lovelace/M2-lumieres
- type: state-badge
title: PC on/off
tap_action:
action: toggle
entity: input_button.bureau
style:
left: 70%
top: 72%
'--ha-label-badge-font-size': 1.2em
- type: state-icon
style:
left: 50%
top: 50%
entity: sensor.sun_next_dawn
icon: mdi:account
tap_action:
action: navigate
navigation_path: /lovelace/M22-buro
hold_action:
action: navigate
navigation_path: /lovelace/M22-buro
- type: state-icon
entity: light.multiprises_pc_prise_1
icon: mdi:desk-lamp
tap_action:
action: toggle
style:
left: 85%
top: 65%
- type: state-icon
style:
left: 70%
top: 65%
entity: input_button.bureau
icon: mdi:desk
tap_action:
action: toggle
layout_options:
grid_columns: 3
grid_rows: 3`
Ma configuration
System Information
version | core-2024.8.3 |
---|---|
installation_type | Home Assistant OS |
dev | false |
hassio | true |
docker | true |
user | root |
virtualenv | false |
python_version | 3.12.4 |
os_name | Linux |
os_version | 6.6.31-haos-raspi |
arch | aarch64 |
timezone | Europe/Paris |
config_dir | /config |
Home Assistant Community Store
GitHub API | ok |
---|---|
GitHub Content | ok |
GitHub Web | ok |
HACS Data | ok |
GitHub API Calls Remaining | 5000 |
Installed Version | 2.0.0 |
Stage | running |
Available Repositories | 1395 |
Downloaded Repositories | 71 |
Home Assistant Cloud
logged_in | true |
---|---|
subscription_expiration | 16 septembre 2024 à 02:00 |
relayer_connected | true |
relayer_region | eu-central-1 |
remote_enabled | true |
remote_connected | true |
alexa_enabled | true |
google_enabled | true |
remote_server | eu-central-1-20.ui.nabu.casa |
certificate_status | ready |
instance_id | 0beed8515cea4d3db77a00adf82e7579 |
can_reach_cert_server | ok |
can_reach_cloud_auth | ok |
can_reach_cloud | ok |
Home Assistant Supervisor
host_os | Home Assistant OS 13.1 |
---|---|
update_channel | stable |
supervisor_version | supervisor-2024.08.0 |
agent_version | 1.6.0 |
docker_version | 26.1.4 |
disk_total | 228.5 GB |
disk_used | 16.4 GB |
healthy | true |
supported | true |
host_connectivity | true |
supervisor_connectivity | true |
ntp_synchronized | true |
virtualization | |
board | rpi4-64 |
supervisor_api | ok |
version_api | ok |
installed_addons | Terminal & SSH (9.14.0), File editor (5.8.0), Samba share (12.3.2), Studio Code Server (5.15.0), InfluxDB (5.0.0), Grafana (10.0.0), Linky (1.5.0), Mosquitto broker (6.4.1), Zigbee2MQTT (1.40.0-1) |
Dashboards
dashboards | 3 |
---|---|
resources | 55 |
views | 39 |
mode | storage |
Recorder
oldest_recorder_run | 25 août 2024 à 18:16 |
---|---|
current_recorder_run | 4 septembre 2024 à 15:19 |
estimated_db_size | 698.32 MiB |
database_engine | sqlite |
database_version | 3.45.3 |