Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

headline and headline_and_scale overrides localization when scaling #267

Open
Jugom opened this issue Jul 30, 2024 · 1 comment
Open

headline and headline_and_scale overrides localization when scaling #267

Jugom opened this issue Jul 30, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Jugom
Copy link
Contributor

Jugom commented Jul 30, 2024

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:

  • entity: binary_sensor.meteoalarm
    integration: meteoalarm
    hide_when_no_warning: true

Integration type

Meteoalarm

Integration configuration

GUI

Integration Configuration

MeteoAlarm

binary_sensor:

  • platform: meteoalarm
    country: "spain"
    province: "Levante mallorquín"
    language: es-ES
@Jugom Jugom added the bug Something isn't working label Jul 30, 2024
@Ascathon
Copy link

In regular dashboard (new sections)
image

Grid dashboard with view_layout and grid-area applied
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants