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

Hide unused buttons hvac #394

Open
BorisAbakumov opened this issue Jun 23, 2023 · 2 comments
Open

Hide unused buttons hvac #394

BorisAbakumov opened this issue Jun 23, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@BorisAbakumov
Copy link

BorisAbakumov commented Jun 23, 2023

How can I hide unused buttons such as "fan mode", "cooling", while leaving the necessary ones: "off" and "heating"?
image

@BorisAbakumov BorisAbakumov added the enhancement New feature or request label Jun 23, 2023
@talormanda
Copy link

talormanda commented Jul 6, 2023

You need to create a sub-category for hvac and set the buttons you don't want to 'false'. Notice here how heat isn't showing and I have it set to 'false'.

image

@BorisAbakumov
Copy link
Author

Hi! the sketch for my example looks like this:
type: custom:simple-thermostat
entity: climate.bania_kamenka_2
layout:
step: row
mode:
headings: true
step_size: 1
control:
hvac:
'off':
name: Выключить
heat:
name: false
icon: false
cool:
name: Нагревать
icon: mdi:thermometer
heat_cool:
name: false
icon: false
fan_only:
name: false
icon: false

In this example, I can rename the button and give it a different icon.
In your example, indeed, it turns out to disable unused buttons, but it is no longer possible to change the name and icon of these buttons:

image

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

No branches or pull requests

2 participants