jmcollin78 / versatile_thermostat

A full featured Thermostat for Home Assistant: presets, window, motion, presence and overpowering management
MIT License
336 stars 37 forks source link

Expose preset temps for presets in HVAC mode #103

Closed MaxWaldorf closed 1 year ago

MaxWaldorf commented 1 year ago

Is your feature request related to a problem? Please describe. It is rather a missing feature as the values are not exposed by the plugin in AC mode...

Describe the solution you'd like I'm using temp sensors (Danfoss) that can help set a target temperature and I'm coupling that with the schedule plugin...

Describe alternatives you've considered I'd like to set the comfort target as the sensor set temp but I can't do that when heat pump is in AC mode as the preset temp is not exposed by your plugin...

Additional context Could look like:

service: versatile_thermostat.set_preset_temperature
data:
    preset: boost
    temperature_hvac: 17.8
    temperature_away_hvac: 15
target:
    entity_id: climate.my_thermostat
jmcollin78 commented 1 year ago

Hello,

I think you can change the ac preset value with the following service call:

service: versatile_thermostat.set_preset_temperature
        data:
            preset: boost_ac            ####  notice the _ac suffix here 
            temperature: 17.8
            temperature_away: 15
        target:
            entity_id: climate.thermostat_2

I will try this and I let you know.

jmcollin78 commented 1 year ago

Ok this was not accepted because list of preset was limited to eco, boost, comfort. This is now fixed in 3.4.