MrBartusek / MeteoalarmCard

Meteoalarm, Météo-France and DWD severe weather warnings card for Home Assistant Lovelace UI ⛈️
MIT License
134 stars 49 forks source link

headline and headline_and_scale overrides localization when scaling #267

Open Jugom opened 1 month ago

Jugom commented 1 month ago

Describe the bug

When text is longer than it can fit in the card, both headline and headline_and_scale overrides localization (in my case from Spanish back to English)

Integration state attributes

language: es-ES category: Met event: Aviso de temperaturas máximas de nivel amarillo responseType: Monitor urgency: Future severity: Moderate certainty: Likely effective: 2024-07-30T10:01:46+02:00 onset: 2024-07-31T12:00:00+02:00 expires: 2024-07-31T19:59:59+02:00 senderName: AEMET. Agencia Estatal de Meteorología headline: Aviso de temperaturas máximas de nivel amarillo. Levante mallorquín description: Temperatura máxima: 38 ºC. Temperaturas mínimas muy altas entre 23 y 28 ºC. Las temperaturas máximas puntualmente pueden alcanzar los 39 ºC. instruction: Esté atento. Manténgase informado de la predicción meteorológica más actualizada. Se pueden producir daños moderados a personas y bienes, especialmente a aquellos vulnerables o en zonas expuestas al fenómeno. web: https://www.aemet.es/es/eltiempo/prediccion/avisos contact: AEMET awareness_level: 2; yellow; Moderate awareness_type: 5; high-temperature attribution: Information provided by MeteoAlarm device_class: safety friendly_name: meteoalarm

Screenshots

image image

Card version

v2.7.1

Installation type

Home Assistant Community Store (HACS)

Card Configuration

type: custom:meteoalarm-card entities:

Integration type

Meteoalarm

Integration configuration

GUI

Integration Configuration

MeteoAlarm

binary_sensor:

Ascathon commented 1 month ago

In regular dashboard (new sections) image

Grid dashboard with view_layout and grid-area applied image