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

hvac-mode translation #133

Open
derlbear opened this issue Aug 13, 2023 · 2 comments
Open

hvac-mode translation #133

derlbear opened this issue Aug 13, 2023 · 2 comments

Comments

@derlbear
Copy link

I use
secondary_info:
type: hvac-mode
which also works. However, the output text is not translated. How can I set it so that the text appears in another language?
Screenshot 2023-08-13 131749
The default climate card shows the translated output.
Screenshot 2023-08-13 131818

@regevbr
Copy link
Collaborator

regevbr commented Aug 14, 2023

No idea, it is probably a new feature of HA. A PR is welcome if you want to get it working

@KrX3D
Copy link

KrX3D commented Dec 9, 2023

you mean the "cool" text`?

image

for me it worked like this:

hvac_mode:
  style: '(value, entity) => ({ color: value !== ''off'' ? ''red !important'' : ''grey'' })'
  source:
    'off':
      icon: mdi:power
      name: Aus
    heat:
      name: Heizen
      icon: mdi:fire

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants