simple-thermostat icon indicating copy to clipboard operation
simple-thermostat copied to clipboard

Hide unused buttons hvac

Open BorisAbakumov opened this issue 1 year ago • 2 comments

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

BorisAbakumov avatar Jun 23 '23 09:06 BorisAbakumov

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

talormanda avatar Jul 06 '23 15:07 talormanda

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

BorisAbakumov avatar Jul 07 '23 09:07 BorisAbakumov