Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting a heating schedule #98

Open
TheClyk opened this issue Mar 5, 2024 · 2 comments
Open

Setting a heating schedule #98

TheClyk opened this issue Mar 5, 2024 · 2 comments

Comments

@TheClyk
Copy link

TheClyk commented Mar 5, 2024

Is your feature request related to a problem? Please describe.
I've looked in the automation and cannot see an option to set a heat schedule. I'm in the UK and have a cheap tarrif at night and would like to heat up the hot tub then overnight and let it cool until later on when we are ready to get in it. This will save the tub kicking in during the day so much that I pay a lot more for energy.

Describe the solution you'd like
Ability to set the temperature at say 40c at 12.30 am and then to 20c at 4.30 am when my tariff becomes more expensive.

Describe alternatives you've considered
None that I can see.

@dannyb2100
Copy link

dannyb2100 commented Apr 3, 2024

I appreciate this is an old question.
But I've done something similar using Automations.

See: https://www.home-assistant.io/docs/automation/basics/ on how to get started.
It's very easy, so when the time is 00:30, and between 00:30 and 04:00 - set your tub to heat.

Here is a very basic YAML.

- id: 'hot_tub_heating_control'
  alias: "Control Hot Tub Heating Based on Time Slot"
  description: "Turns on the hot tub heating between 00:00 and 05:30."
  trigger:
    - platform: time
      at: "00:00:00"
  condition:
    - condition: time
      after: '00:00:00'
      before: '04:30:00'
  action:
    - service: switch.turn_on
      target:
        entity_id: switch.hot_tub_heating

Then, have a second one to turn off the heating.

- id: 'hot_tub_heating_off'
  alias: "Turn Off Hot Tub Heating After Time Slot"
  trigger:
    - platform: time
      at: "04:30:00"
  action:
    - service: switch.turn_off
      target:
        entity_id: switch.hot_tub_heating

@TheClyk
Copy link
Author

TheClyk commented Apr 4, 2024

Great, thanks for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants