jmcollin78 / versatile_thermostat

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

Feature request: Central configuration for presets #550

Closed kvanbiesen closed 3 weeks ago

kvanbiesen commented 1 month ago

Versatile thermostat with central configuration work great with setting the target temperature.

But for the moment we have to set the preset like 'eco' to all the vtherm appliances separately.

Wouldn't it be nice if you set a certain preset on the central configuration, also propagates to all the underlying vtherms.

Kinda like the heating/cooling setting but for the presets

jmcollin78 commented 1 month ago

Hello, what is the use case ? On my home, it is really not a need: each VTherm have its own preset depending of presence, time of day, ...

I guess you have a special use case for needing something like that.

kvanbiesen commented 1 month ago

Cause usually all presets happen when they they go in frost or comfort.

Comfort can be different for different rooms but usually same a global setting. Cause since it's central config, and it can define global mode (heating/cooling,...) I don't see why preset can be set globally. Should be to much change? People don't have to use if, just be available

On Sun, Oct 13, 2024, 18:07 Jean-Marc Collin @.***> wrote:

Hello, what is the use case ? On my home, it is really not a need: each VTherm have its own preset depending of presence, time of day, ...

I guess you have a special use case for needing something like that.

— Reply to this email directly, view it on GitHub https://github.com/jmcollin78/versatile_thermostat/issues/550#issuecomment-2409033870, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZ4APL4CTUSR7OX5I6M3QLZ3KLE3AVCNFSM6AAAAABP3NYLYGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBZGAZTGOBXGA . You are receiving this because you authored the thread.Message ID: @.***>

jmcollin78 commented 1 month ago

No it is easy to do, but I only want to do useful things because I have a lot of work. I will think about that.

kvanbiesen commented 1 month ago

Yeah no I get that. Just throwing up an idea. Thanks for your hard work!

On Sun, Oct 13, 2024, 18:19 Jean-Marc Collin @.***> wrote:

No it is easy to do, but I only want to do useful things because I have a lot of work. I will think about that.

— Reply to this email directly, view it on GitHub https://github.com/jmcollin78/versatile_thermostat/issues/550#issuecomment-2409038050, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZ4APOGI7RNU4DEQ6LUNK3Z3KMSRAVCNFSM6AAAAABP3NYLYGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBZGAZTQMBVGA . You are receiving this because you authored the thread.Message ID: @.***>

hilburn commented 3 weeks ago

If you wanted to do this with just template work - you could use the following to get a list of all VTherm climates to pass into climate.set_preset:

{{ states.climate | map(attribute="entity_id") | select("is_device_attr", "manufacturer", "JMCOLLIN") | list }}

It's what I used to use with my "override" buttons in a similar way to what you're asking for

jmcollin78 commented 3 weeks ago

If you wanted to do this with just template work - you could use the following to get a list of all VTherm climates to pass into climate.set_preset:

{{ states.climate | map(attribute="entity_id") | select("is_device_attr", "manufacturer", "JMCOLLIN") | list }}

It's what I used to use with my "override" buttons in a similar way to what you're asking for

Yes. So, you are at least, two with the same needs.

hilburn commented 3 weeks ago

I've actually moved away from that now. I use the schedule state integration for setting the preset for each room and it that can do conditionals in a much more robust way than Scheduler - so when I press a button it switches all room schedules to follow the master schedule, giving me the behaviour I (very occasionally) want but individual control the rest of the time

kvanbiesen commented 3 weeks ago

It's not a high demand. Currently I made a select box helper with the states and a run a automation when the state gets changed. It's updates all presets on all vtherms. Works perfectly, even with the scheduler card.

On Sun, Oct 27, 2024, 09:55 hilburn @.***> wrote:

I've actually moved away from that now. I use the schedule state integration for setting the preset for each room and it that can do conditionals in a much more robust way than Scheduler - so when I press a button it switches all room schedules to follow the master schedule, giving me the behaviour I (very occasionally) want but individual control the rest of the time

— Reply to this email directly, view it on GitHub https://github.com/jmcollin78/versatile_thermostat/issues/550#issuecomment-2439913587, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZ4APN6QRJ74PJ46ZFTTD3Z5SMAFAVCNFSM6AAAAABP3NYLYGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZZHEYTGNJYG4 . You are receiving this because you authored the thread.Message ID: @.***>

jmcollin78 commented 3 weeks ago

ok. I will close the feature request for now.