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

[heaty] manual intervention is not working #2

Closed
phsdv opened this issue Feb 17, 2018 · 3 comments
Closed

[heaty] manual intervention is not working #2

phsdv opened this issue Feb 17, 2018 · 3 comments

Comments

@phsdv
Copy link

phsdv commented Feb 17, 2018

I have home assistant 63.1 and hass_apps (0.20180209.0)
The apps.yaml looks like this:

verwarming:
  module: hass_apps_loader
  class: HeatyApp

  rooms:

    keuken:
      thermostats:
        climate.keuken:
      schedule:
      - { temp: 16 if app.get_state("input_boolean.verwarming_uit") == "on" else Ignore(), start: "00:00", end: "23:59", weekdays: 1-7 }
      - { temp: 19.5, start: "06:40", end: "07:50", weekdays: 1-7 }
      - { temp: 19.5 if app.get_state("input_boolean.dagje_thuis") == "on" else Ignore(), start: "08:00", end: "14:40", weekdays: 1-7 }
      - { temp: 18.0, start: "08:00", end: "14:40", weekdays: 1-7 }
      - { temp: 19.0, start: "14:40", end: "17:30", weekdays: 1-7 }
      - { temp: 19.5, start: "17:30", end: "19:00", weekdays: 1-7 }
      - { temp: 17.5, start: "19:00", end: "21:00", weekdays: 1-7 }
      - { temp: 16 }

If the input_boolean,dagje_thuis is switch on at 9am, the schedule is not changing to 19,5 degrees but staying on 18 degrees. Is this a bug or am I doing something wrong. More general can I change a flag during the schedule in a statement like this: temp: 19.5 if app.get_state("input_boolean.dagje_thuis") == "on" else Ignore(), start: "08:00", end: "14:40" or should that be done before it starts (before 08:00 in this example?) If the later is the case, I would say that is a bug.

@bob1de
Copy link
Owner

bob1de commented Feb 17, 2018

Hi,

Have you set up an automation in HA that emits a heaty_reschedule event whenever your input_boolean changes? Please look into the README for more information about this.

If your problem persists, I can't trace anything without having a debug log. So please include that.

Best regards
Robert

@phsdv
Copy link
Author

phsdv commented Feb 17, 2018

heaty_reschedule, no I did not do that... good point I did read about it but forgot to do that. And it does help. It is working now. Just a case of RTFM and not a bug. Sorry about that. And thanks for your help!

@phsdv phsdv closed this as completed Feb 17, 2018
@bob1de
Copy link
Owner

bob1de commented Feb 17, 2018

No problem, good luck with Heaty. :-)

bob1de pushed a commit that referenced this issue Feb 17, 2018
@bob1de bob1de changed the title manual intervention is not working in heaty [heaty] manual intervention is not working Mar 5, 2018
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