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

UI translations of preset modes from fan entity not observed #428

Open
kongo09 opened this issue Dec 1, 2024 · 0 comments
Open

UI translations of preset modes from fan entity not observed #428

kongo09 opened this issue Dec 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kongo09
Copy link

kongo09 commented Dec 1, 2024

Before submitting a bug

[X] I updated to the latest version available
[X] I cleared the cache of my browser

Describe the bug

The preset mode drop down doesn't make use of the UI translations provided with the referred fan entity.

Steps to reproduce

  1. Setup card with a fan entity that provides text translations, like those from https://github.com/kongo09/philips-airpurifier-coap
  2. Observe preset mode text

Expected behavior
I would expect the translation text to be shown, instead the text keys for the strings.json file are shown.

Screenshots

Bildschirmaufnahme.2024-12-01.220428.mp4

Compare to the preset modes in the built-in view:

image

Versions:

  • Release: 2.6.2
  • Browser: Edge
  • HomeAssistant version: 2024.11.3

Side Note:

Thank you for this wonderful card. It otherwise works very will with the very long list of Philips AirPurifiers that my custom integration supports. If you don't mind, I'll put a reference to your card into my README.

@kongo09 kongo09 added the bug Something isn't working label Dec 1, 2024
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

1 participant