Bonjour a tous,
J’ai plusieurs cartes « mini graph card » dont j’utilise la fonction nim max.
Cependant, les horaires s’affichent au format US , savez vous comment le passer en FR svp ?
type: custom:mini-graph-card
entities:
- entity: sensor.temperature_exterieure_temperature
color: cyan
name: Extérieur
hours_to_show: 24
points_per_hour: 50
line_width: 2
animate: true
show:
extrema: true
height: 80
font_size: 110
font_size_header: 20
card_mod:
style: |
ha-card {
background-size: 50px 50px;
background-repeat: no-repeat;
background-position: center center;
{% if is_state('binary_sensor.temperature_exterieure_augmentation', 'on') %}
background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='green'><path d='M12 4l-4 4h3v7h2v-7h3z'/></svg>");
{% elif is_state('binary_sensor.temperature_exterieure_diminution', 'on') %}
background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='red'><path d='M12 20l4-4h-3v-7h-2v7h-3z'/></svg>");
{% else %}
background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='grey'><path d='M3 12h18v2H3z'/></svg>"); # Signe égal (horizontale)
{% endif %}
}
.header.flex .icon {
color: cyan; /* Couleur rouge pour l'icône de l'en-tête */
}
.card-content {
font-size: 18px !important;
}
[center]## System Information
version |
core-2024.11.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.54-haos |
arch |
x86_64 |
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 |
4995 |
Installed Version |
2.0.1 |
Stage |
running |
Available Repositories |
1473 |
Downloaded Repositories |
68 |
Home Assistant Cloud
logged_in |
true |
subscription_expiration |
15 mars 2025 à 01:00 |
relayer_connected |
true |
relayer_region |
eu-central-1 |
remote_enabled |
true |
remote_connected |
true |
alexa_enabled |
true |
google_enabled |
true |
cloud_ice_servers_enabled |
true |
remote_server |
eu-central-1-19.ui.nabu.casa |
certificate_status |
ready |
instance_id |
1623b6bb563c449ca5edc25683f98842 |
can_reach_cert_server |
ok |
can_reach_cloud_auth |
ok |
can_reach_cloud |
ok |
Home Assistant Supervisor
host_os |
Home Assistant OS 13.2 |
update_channel |
stable |
supervisor_version |
supervisor-2024.11.4 |
agent_version |
1.6.0 |
docker_version |
27.2.0 |
disk_total |
93.8 GB |
disk_used |
18.3 GB |
healthy |
true |
supported |
true |
host_connectivity |
true |
supervisor_connectivity |
true |
ntp_synchronized |
true |
virtualization |
kvm |
board |
ova |
supervisor_api |
ok |
version_api |
ok |
installed_addons |
Spotify Connect (0.13.0), Terminal & SSH (9.15.0), eufy-security-ws (1.9.1), File editor (5.8.0), Node-RED (18.1.1), Samba share (12.3.2), motionEye (0.21.0), Mosquitto broker (6.4.1), Samba Backup (5.2.0), Zigbee2MQTT (1.41.0-1), Matter Server (6.6.1), Music Assistant Server (2.3.3), go2rtc (1.9.7), Z-Wave JS UI (3.17.0), Z-Wave JS (0.9.0), MyElectricalData (0.13.2), Studio Code Server (5.17.3), Home Assistant Google Drive Backup (0.112.1) |
Dashboards
dashboards |
4 |
resources |
50 |
views |
23 |
mode |
storage |
Recorder
oldest_recorder_run |
20 novembre 2024 à 19:45 |
current_recorder_run |
30 novembre 2024 à 17:35 |
estimated_db_size |
511.33 MiB |
database_engine |
sqlite |
database_version |
3.45.3 |
Spotify
api_endpoint_reachable |
ok |
SpotifyPlus
integration_version |
v1.0.66 |
clients_configured |
1: moicphil (premium) |
api_endpoint_reachable |
ok |
[/center]
Merci a toi , tellement simple. C´est pas faute de l´avoir parcourue pourtant
1 « J'aime »