Climate entity attributes (Sensibo)

Hi,

I’m a total n00b when it comes to HADashboard so this might be a stupid question. I have a Sensibo A/C controller that works great with Home Assistant. However, the HADashboard widget only shows current temperature and + and - buttons to adjust it. What I would like to do is to create a widget that can e.g. change the operation mode and one that could set the A/C on/off. These options are available on HA but not on HADashboard. The entity has the following attributes:

current_temperature: 23.5
min_temp: 17
max_temp: 30
temperature: 22
target_temp_step: 1
fan_mode: auto
fan_list: low,medium_low,medium,medium_high,high,auto
operation_mode: cool
operation_list: auto,cool,dry,fan,heat
swing_mode: stopped
swing_list: stopped,rangeFull
current_humidity: 55.2
battery: null
unit_of_measurement: °C
friendly_name: Ilmastointi
supported_features: 4801

So, how can that be done?

because there are so many different climate components it is very hard to create a widget that can do all the things you can do with it. mostly because the creator from the dashboard doesnt own such devices.

there is also another problem and that is that (almost) all widgets are for size 1x1 and that wouldnt be possible.

you could create a custom widget but because you just started i would advice against starting with such a difficult project.

however there is another way to get the functions you want in 1 dashboard.
in ha you could create 2 input selects that selects that set the operation mode and the fan mode.
there is also a heater widget that controls a slider and a switch.

so what you actually would be doing is split up the climate component into a few new components.
sensor (for temp)
input_number (to set the temp
switch (to turn it on and off)
input_select (to set operation)
input_select (to set fan_mode)

in HA those components are combined to 1 state card
all those components are available in the dashboard as widget, so you can all use them but you need a minimum from 4 widgets to have all functions.

creating 1 widget to control those 5 components would involve a great deal of javascript, html and css programming.

Thanks! I’m perfectly happy with multiple widgets. So, would I do the split in configuration.yaml?

you need to make a template switch (see docs in HA) that switches the climate
you need to make an input select (also in docs HA) which has the same options as your operation and then a small automation that tells to change the climate when you change the input select.
same for fan mode
i guess that thats al you need.

all those things are created in the configuration from HA