Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95370

Schedy heating with dependencies outside climate entity

$
0
0

@merwone wrote:

Hi all,

I need some help to have schedy appdaemon scheduling my heating working.
Below my schedy.yaml:

# Schedy thermostats
schedy_heating:
  module: hass_apps_loader
  class: SchedyApp
  actor_type: thermostat

  schedule_snippets:
    appartment:
# At given times the themperature should be 22 degree celsius
    - { v: 21, start: "06:30", end: "08:00", weekdays: "1-5", weeks: "1-9, 44-52" }
    - { v: 21, start: "16:30", end: "23:00", weekdays: "1-5", weeks: "1-9, 44-52" }
    - { v: 21, start: "07:00", end: "23:00", weekdays: "6-7", weeks: "1-9, 44-52" }
# On all other times the temperature should be 19 degree celsius
    - { v: 19, weekdays: "1-7", weeks: "1-13, 40-52" }

  schedule_prepend:
  - x: "Mark(OFF, Mark.OVERLAY) if not is_empty(filter_entities('binary_sensor', window_room=room_name, state='on')) else Skip()"
  schedule_append:
  - v: "OFF"

  rooms:
    living:
      actors:
        climate.living:
      watched_entities:
      - binary_sensor.rf_terrace
      schedule:
      - x: "IncludeSchedule(schedule_snippets['appartment'])"
      rescheduling_delay: 60

In home assistant, my climate.living:

hvac_modes:
  - heat
  - 'off'
current_temperature: 18
min_temp: 5
max_temp: 22
temperature: 19
hvac_action: heating
preset_mode: null
preset_modes:
  - none
  - away
friendly_name: thermostat
supported_features: 17

The link between my schedy.yaml and my climate.living works as coded. In order for my heating to work accordingly however there is a dependency with 3 other entities, i.e.:

Climate.living state triggered from off to heat:

  • switch.easyplus + switch.boiler if state = on do nothing, otherwise turn_on

  • input_number.setpoint_living set_state = climate.living; attribute temperature, e.g. 21

In my opinion the way forward would be through python_script or ideally directly through schedy app.

Looking forward for ideas.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95370

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>