Blackymas / NSPanel_HA_Blueprint

This allows you to configure your complete NSPanel via Blueprint with UI and without changing anything in the code
1.48k stars 264 forks source link

`Enhancement` Add support for climate preset modes #2394

Open lordcoxis opened 1 week ago

lordcoxis commented 1 week ago

Enhancement Summary

Add support for climate preset modes

Detailed Description

As of v4.3.12 climate preset modes are not supported, only HVAC modes. There are some climate devices (and integrations like Versatile Thermostat) that use preset modes and so it would be nice to support them.

Additional Context

No response

edwardtfn commented 6 days ago

This is something I wanna work on soon as there are many similar requests:

This will require support to a "select" page:

drpixel972 commented 6 days ago

Hello,

@edwardtfn : A select button may or may not be needed. I think that the same layout as the hvac mode (icon representing the preset) may be more user friendly. But I don't know if it is easier to code with the select, or the icons ^^.

@lordcoxis : I'm in the same situation (vtherm and nspanel). What I may do, is an automation that select the right preset from the selected temperature.

Best Regards,

Christophe

edwardtfn commented 6 days ago

You're right, we probably could solve this with icons... Are those icons for preset mode standardized?

lordcoxis commented 6 days ago

I agree with using the same layout as HVAC modes (icons), that's what I use in regular HA dashboards anyway. In Versatile Thermostat we have the following presets:

Activity: mdi:motion-sensor Eco: mdi:leaf Comfort: mdi:sofa Boost: mdi:rocket-launch Manual: mdi:knob Frost: mdi:snowflake

Ideally one could select which ones to show (I only use activity, eco, comfort and boost for example), but that's for another day I guess.

drpixel972 commented 6 days ago

I don't think that the icons are standardized, as the presets themselves are not (even though most of them are very common). Two possibles situations :

@lordcoxis : I have the same situation ^^ .