nervetattoo/simple-thermostat

Hide unused buttons hvac

BorisAbakumov opened this issue · 2 comments

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

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

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