dahlb / ha_carrier

Carrier Infinity Integration for Home Assistant
MIT License
42 stars 3 forks source link

Can a vacation be set? #35

Closed Snuffy2 closed 1 year ago

Snuffy2 commented 1 year ago

Checklist

Is your feature request related to a problem? Please describe.

I just begrudgingly switched from an ecobee to a Carrier Infinity Touch. I have it successfully connected to HA via your great integration. With the ecobee, I could call a service to create a vacation on the thermostat. Is there any way to do this with ha_carrier?

Describe the solution you'd like

A service or other method to programmatically set a vacation on the thermostat.

Describe alternatives you've considered

If the API is posted somewhere and it is doable, I'd be willing to attempt a PR for it.

Additional context

None

dahlb commented 1 year ago

you can do this using the service call exampled below

service: climate.set_preset_mode
data:
  preset_mode: vacation
target:
  entity_id: climate.hvac_zone_1
Snuffy2 commented 1 year ago

Ok, but how can I set the start date/time, end date/time and desired vacation temperature(s)?

dahlb commented 1 year ago

you can use ha automations to use the manual mode and configure temperatures, or you can use the carrier app/thermostat to configure a static vacation mode and then use ha to invoke that vacation mode as defined above; configuring a static profile using the ha integration seems a waste as I don't understand a use case where it needs to be dynamic

Snuffy2 commented 1 year ago

Not necessarily dynamic, just automated. Because I have baseboard heat, I have multiple smart thermostats in the house. I have automations in HA that identify when I'll be on vacation based on entires in a calendar and automatically put the thermostats in a vacation mode set to end when I get back.

dahlb commented 1 year ago

You can do that with by setting preset to vacation, the integration defaults to infinitely holding on preset change, then with another automation that triggers when you are expected to return use the preset 'resume' to resume your normal schedule