Hi People. I tried setting this up but I could never get this working. I post my complete config here. Maybe there’s someone out there who could point me to the right direction? My AC Just won’t turn on I also added a log file to see what shedy does
shedy_heating:
module: hass_apps_loader
class: SchedyApp
debug: true
actor_type: thermostat
expression_environment: |
def heating_mode():
return state("input_select.heating_mode")
schedule_prepend:
- x: "Mark(OFF, Mark.OVERLAY) if not is_empty(filter_entities('binary_sensor', window_room=room_name, state='on')) else Next()"
- name: global schedule on/off switch
x: "Abort() if is_off('input_boolean.automated_heating') else Next()"
- name: per-room schedule on/off switch
x: "Abort() if is_off('input_boolean.automated_heating_' + room_name) else Next()"
schedule_append:
- v: "OFF"
schedule_snippets:
# BEDROOM
bedroom:
- v: 24
rules:
# don't turn on when it's > 20 degrees in the bedroom
- x: "Break() if float(state('sensor.temperature_bedroom') or 0) > 25 else Next()"
- weekdays: 1-5
rules:
- rules:
- x: "Next() if heating_mode() != 'Normal' else Break()"
- { start: "06:00", end: "07:00" }
- { start: "21:00", end: "23:59" }
- weekdays: 6-7
rules:
- { start: "06:00", end: "07:00" }
- { start: "22:00", end: "23:59" }
# ROOM EVAN
room_evan:
- v: 21
rules:
# don't turn on when it's > 20 degrees in the bedroom
- x: "Break() if float(state('sensor.xiaomi_mijia_temperature_evan') or 0) > 25 else Next()"
- weekdays: 1-5
rules:
- rules:
- x: "Next() if heating_mode() != 'Normal' else Break()"
- { start: "06:00", end: "07:00" }
- { start: "21:00", end: "22:30" }
- weekdays: 6-7
rules:
- { start: "08:00", end: "09:00" }
- { start: "21:00", end: "22:30" }
# ROOM ROSE
room_rose:
- v: 21
rules:
# don't turn on when it's > 20 degrees in the bedroom
- x: "Break() if float(state('sensor.xiaomi_mijia_temperature_rose') or 0) > 22 else Next()"
- weekdays: 1-5
rules:
- rules:
- x: "Next() if heating_mode() != 'Normal' else Break()"
- { start: "06:00", end: "07:00" }
- { start: "03:00", end: "04:00" }
- { start: "20:00", end: "21:30" }
- weekdays: 6-7
rules:
- { start: "06:00", end: "07:30" }
- { start: "03:00", end: "04:00" }
- { start: "21:00", end: "22:30" }
watched_entities:
- input_select.heating_mode
- input_boolean.automated_heating
- sensor.temperature_bedroom
- sensor.xiaomi_mijia_temperature_evan
- sensor.xiaomi_mijia_temperature_rose
- input_boolean.automated_heating_bedroom
- input_boolean.automated_room_evan
- input_boolean.automated_room_rose
rooms:
# BEDROOM
bedroom:
rescheduling_delay: 15
actors:
climate.air_conditioner_bedroom:
watched_entities:
- sensor.temperature_bedroom
- binary_sensor.window_bedroom
- input_boolean.automated_heating_bedroom
schedule:
- x: "IncludeSchedule(schedule_snippets['bedroom'])"
# ROOM EVAN
room_evan:
rescheduling_delay: 15
actors:
climate.air_conditioner_evan:
watched_entities:
- sensor.xiaomi_mijia_temperature_evan
- binary_sensor.window_evan
- input_boolean.automated_heating_room_evan
schedule:
- x: "IncludeSchedule(schedule_snippets['room_evan'])"
# ROOM ROSE
room_rose:
rescheduling_delay: 15
actors:
climate.air_conditioner_rose:
watched_entities:
- sensor.xiaomi_mijia_temperature_rose
- binary_sensor.window_rose
- input_boolean.automated_heating_room_rose
schedule:
- x: "IncludeSchedule(schedule_snippets['room_rose'])"
statistics:
# Pick an arbitrary name for the parameter instance.
upstairs_temp_delta:
# The type of parameter as found in the actor'S documentation.
type: temp_delta
# More parameter-specific settings:
rooms:
bedroom:
room_evan:
room_rose:
Here a log when deactivating automated heating in the bedroom and re-activating it.
2019-11-21 21:59:20.249831 INFO shedy_heating: --- [R:bedroom] Final result: OFF, markers: set()
2019-11-21 21:59:20.252442 INFO shedy_heating: --- [R:bedroom] Result didn't change, not setting it again.
2019-11-21 21:59:20.254618 INFO shedy_heating: --- [R:room_evan] Unchanged HA state: state='OFF', attributes={'actor_wanted_values': {'climate.air_conditioner_evan': 'OFF'}, 'scheduled_value': 'OFF', 'rescheduling_time': None, 'overlay_active': False}
2019-11-21 21:59:20.255485 INFO shedy_heating: --- [R:bedroom] Unchanged HA state: state='OFF', attributes={'actor_wanted_values': {'climate.air_conditioner_bedroom': 'OFF'}, 'scheduled_value': 'OFF', 'rescheduling_time': None, 'overlay_active': False}
2019-11-21 21:59:21.937606 INFO shedy_heating: --- [SP:upstairs_temp_delta] Value for A:climate.air_conditioner_bedroom in R:bedroom is 0.0.
2019-11-21 21:59:21.939977 INFO shedy_heating: --- [SP:upstairs_temp_delta] Value for A:climate.air_conditioner_evan in R:room_evan is 0.0.
2019-11-21 21:59:21.942074 INFO shedy_heating: --- [SP:upstairs_temp_delta] Value for A:climate.air_conditioner_rose in R:room_rose is 0.0.
2019-11-21 21:59:21.943927 INFO shedy_heating: --- [SP:upstairs_temp_delta] Unchanged HA state: attributes={'min': 0.0, 'avg': 0.0, 'max': 0.0}
2019-11-21 21:59:40.856388 INFO shedy_heating: --> Attribute 'state' of 'input_boolean.automated_heating_bedroom' changed from 'on' to 'off', reevaluating 3 rooms.
2019-11-21 21:59:40.858562 INFO shedy_heating: --- [R:bedroom] Doing schedule re-evaluation in 1 second [reset=False]
2019-11-21 21:59:40.860663 INFO shedy_heating: --> Attribute 'state' of 'input_boolean.automated_heating_bedroom' changed from 'on' to 'off', reevaluating <Room R:bedroom>.
2019-11-21 21:59:40.863566 INFO shedy_heating: --- [R:bedroom] Re-evaluation pending, doing nothing.
2019-11-21 21:59:40.948176 INFO shedy_heating: --- [R:bedroom] Evaluating room's schedule (reset=False, force_resend=False).
2019-11-21 21:59:40.949648 INFO shedy_heating: --- [R:bedroom] Assuming it to be 2019-11-21 21:59:40.933216.
2019-11-21 21:59:40.952721 INFO shedy_heating: --- [R:room_evan] Evaluating room's schedule (reset=False, force_resend=False).
2019-11-21 21:59:40.954458 INFO shedy_heating: --- [R:room_rose] Assuming it to be 2019-11-21 21:59:40.933216.
2019-11-21 21:59:40.957370 INFO shedy_heating: --- [R:bedroom] ������ [SUB] <<Schedule 'bedroom'>/1:<Rule with sub <Schedule 'prepend'>>>
2019-11-21 21:59:40.959994 INFO shedy_heating: --- [R:bedroom] ������ [ACT] <<Schedule 'bedroom'>/1/1:<Rule x='Mark(OFF, Mark.OVERLAY) if not is_empty('...>>
2019-11-21 21:59:40.960583 INFO shedy_heating: --- [R:room_evan] Assuming it to be 2019-11-21 21:59:40.933216.
2019-11-21 21:59:40.964598 INFO shedy_heating: --- [R:room_evan] ������ [SUB] <<Schedule 'room_evan'>/1:<Rule with sub <Schedule 'prepend'>>>
2019-11-21 21:59:40.961416 INFO shedy_heating: --- [R:room_rose] ������ [SUB] <<Schedule 'room_rose'>/1:<Rule with sub <Schedule 'prepend'>>>
2019-11-21 21:59:40.971256 INFO shedy_heating: --- [R:room_evan] ������ [ACT] <<Schedule 'room_evan'>/1/1:<Rule x='Mark(OFF, Mark.OVERLAY) if not is_empty('...>>
2019-11-21 21:59:40.972021 INFO shedy_heating: --- [R:bedroom] Initializing expression helper: BasicHelper, order = 0
2019-11-21 21:59:40.972368 INFO shedy_heating: --- [R:room_rose] ������ [ACT] <<Schedule 'room_rose'>/1/1:<Rule x='Mark(OFF, Mark.OVERLAY) if not is_empty('...>>
2019-11-21 21:59:40.978791 INFO shedy_heating: --- [R:room_evan] Initializing expression helper: BasicHelper, order = 0
2019-11-21 21:59:40.980322 INFO shedy_heating: --- [R:bedroom] Initializing expression helper: PatternHelper, order = 0
2019-11-21 21:59:40.981255 INFO shedy_heating: --- [R:room_rose] Initializing expression helper: BasicHelper, order = 0
2019-11-21 21:59:40.987201 INFO shedy_heating: --- [R:room_evan] Initializing expression helper: PatternHelper, order = 0
2019-11-21 21:59:40.996685 INFO shedy_heating: --- [R:bedroom] Initializing expression helper: ScheduleHelper, order = 0
2019-11-21 21:59:40.997580 INFO shedy_heating: --- [R:room_rose] Initializing expression helper: PatternHelper, order = 0
2019-11-21 21:59:40.999755 INFO shedy_heating: --- [R:room_evan] Initializing expression helper: ScheduleHelper, order = 0
2019-11-21 21:59:41.003196 INFO shedy_heating: --- [R:bedroom] Initializing expression helper: StateHelper, order = 0
2019-11-21 21:59:41.004346 INFO shedy_heating: --- [R:room_rose] Initializing expression helper: ScheduleHelper, order = 0
2019-11-21 21:59:41.009746 INFO shedy_heating: --- [R:room_rose] Initializing expression helper: StateHelper, order = 0
2019-11-21 21:59:41.007060 INFO shedy_heating: --- [R:bedroom] Initializing expression helper: ThermostatExpressionHelper, order = 0
2019-11-21 21:59:41.012989 INFO shedy_heating: --- [R:room_rose] Initializing expression helper: ThermostatExpressionHelper, order = 0
2019-11-21 21:59:41.016175 INFO shedy_heating: --- [R:bedroom] Initializing expression helper: CustomEnvironmentHelper, order = 1000
2019-11-21 21:59:41.022005 INFO shedy_heating: --- [R:bedroom] Executing the expression_environment script.
2019-11-21 21:59:41.018159 INFO shedy_heating: --- [R:room_evan] Initializing expression helper: StateHelper, order = 0
2019-11-21 21:59:41.032787 INFO shedy_heating: --- [R:room_evan] Initializing expression helper: ThermostatExpressionHelper, order = 0
2019-11-21 21:59:41.037987 INFO shedy_heating: --- [R:bedroom] ������ => Next()
2019-11-21 21:59:41.040036 INFO shedy_heating: --- [R:bedroom] ������ [ACT] <<Schedule 'bedroom'>/1/2:<Rule x="Abort() if is_off('input_boolean.automat"...>>
2019-11-21 21:59:41.041631 INFO shedy_heating: --- [R:bedroom] ������ => Next()
2019-11-21 21:59:41.043000 INFO shedy_heating: --- [R:room_rose] Initializing expression helper: CustomEnvironmentHelper, order = 1000
2019-11-21 21:59:41.046486 INFO shedy_heating: --- [R:room_evan] Initializing expression helper: CustomEnvironmentHelper, order = 1000
2019-11-21 21:59:41.049156 INFO shedy_heating: --- [R:room_evan] Executing the expression_environment script.
2019-11-21 21:59:41.059355 INFO shedy_heating: --- [R:room_rose] Executing the expression_environment script.
2019-11-21 21:59:41.082750 INFO shedy_heating: --- [R:bedroom] ������ [ACT] <<Schedule 'bedroom'>/1/3:<Rule x="Abort() if is_off('input_boolean.automat"...>>
2019-11-21 21:59:41.084203 INFO shedy_heating: --- [R:room_rose] ������ => Next()
2019-11-21 21:59:41.093135 INFO shedy_heating: --- [R:room_evan] ������ => Next()
2019-11-21 21:59:41.097873 INFO shedy_heating: --- [R:bedroom] ������ => Abort()
2019-11-21 21:59:41.100421 INFO shedy_heating: --- [R:bedroom] Found no result.
2019-11-21 21:59:41.102953 INFO shedy_heating: --- [R:room_rose] ������ [ACT] <<Schedule 'room_rose'>/1/2:<Rule x="Abort() if is_off('input_boolean.automat"...>>
2019-11-21 21:59:41.105434 INFO shedy_heating: --- [R:room_evan] ������ [ACT] <<Schedule 'room_evan'>/1/2:<Rule x="Abort() if is_off('input_boolean.automat"...>>
2019-11-21 21:59:41.108188 INFO shedy_heating: --- [R:room_evan] ������ => Next()
2019-11-21 21:59:41.110330 INFO shedy_heating: --- [R:room_rose] ������ => Next()
2019-11-21 21:59:41.112671 INFO shedy_heating: --- [R:room_rose] ������ [ACT] <<Schedule 'room_rose'>/1/3:<Rule x="Abort() if is_off('input_boolean.automat"...>>
2019-11-21 21:59:41.122261 INFO shedy_heating: --- [R:bedroom] No suitable value found in schedule.
2019-11-21 21:59:41.124604 INFO shedy_heating: --- [R:bedroom] Unchanged HA state: state='OFF', attributes={'actor_wanted_values': {'climate.air_conditioner_bedroom': 'OFF'}, 'scheduled_value': 'OFF', 'rescheduling_time': None, 'overlay_active': False}
2019-11-21 21:59:41.131910 INFO shedy_heating: --- [R:room_evan] ������ [ACT] <<Schedule 'room_evan'>/1/3:<Rule x="Abort() if is_off('input_boolean.automat"...>>
2019-11-21 21:59:41.134408 INFO shedy_heating: --- [R:room_evan] ������ => Next()
2019-11-21 21:59:41.136565 INFO shedy_heating: --- [R:room_evan] ������ [SUB] <<Schedule 'room_evan'>/2:<Rule with sub <Schedule 'room-individual'>>>
2019-11-21 21:59:41.139367 INFO shedy_heating: --- [R:room_rose] ������ => Next()
2019-11-21 21:59:41.143937 INFO shedy_heating: --- [R:room_rose] ������ [SUB] <<Schedule 'room_rose'>/2:<Rule with sub <Schedule 'room-individual'>>>
2019-11-21 21:59:41.146772 INFO shedy_heating: --- [R:room_rose] ������ [ACT] <<Schedule 'room_rose'>/2/1:<Rule x="IncludeSchedule(schedule_snippets['room_"...>>
2019-11-21 21:59:41.149942 INFO shedy_heating: --- [R:room_evan] ������ [ACT] <<Schedule 'room_evan'>/2/1:<Rule x="IncludeSchedule(schedule_snippets['room_"...>>
2019-11-21 21:59:41.153961 INFO shedy_heating: --- [R:room_evan] ������ => IncludeSchedule(<Schedule 'room_evan'>)
2019-11-21 21:59:41.156848 INFO shedy_heating: --- [R:room_evan] ������ [SUB] <<Schedule 'room_evan'>/2/?:<Rule with sub <Schedule 'room_evan'>>>
2019-11-21 21:59:41.151668 INFO shedy_heating: --- [R:room_rose] ������ => IncludeSchedule(<Schedule 'room_rose'>)
2019-11-21 21:59:41.160658 INFO shedy_heating: --- [R:room_evan] ������ [SUB] <<Schedule 'room_evan'>/2/?/1:<Rule with sub <Schedule of 3 rules>, v=21>>
2019-11-21 21:59:41.177089 INFO shedy_heating: --- [R:room_evan] ������ [ACT] <<Schedule 'room_evan'>/2/?/1/1:<Rule x="Break() if float(state('sensor.xiaomi_mi"...>>
2019-11-21 21:59:41.181594 INFO shedy_heating: --- [R:room_evan] ������ => Next()
2019-11-21 21:59:41.185520 INFO shedy_heating: --- [R:room_evan] ������ [SUB] <<Schedule 'room_evan'>/2/?/1/2:<Rule with sub <Schedule of 1 rules>, weekdays={1-5}>>
2019-11-21 21:59:41.187926 INFO shedy_heating: --- [R:room_evan] ������ [SUB] <<Schedule 'room_evan'>/2/?/1/2/1:<Rule with sub <Schedule of 3 rules>>>
2019-11-21 21:59:41.191029 INFO shedy_heating: --- [R:room_evan] ������ [ACT] <<Schedule 'room_evan'>/2/?/1/2/1/1:<Rule x="Next() if heating_mode() != 'Normal' els"...>>
2019-11-21 21:59:41.193643 INFO shedy_heating: --- [R:room_evan] ������ => Break()
2019-11-21 21:59:41.200087 INFO shedy_heating: --- [R:room_rose] ������ [SUB] <<Schedule 'room_rose'>/2/?:<Rule with sub <Schedule 'room_rose'>>>
2019-11-21 21:59:41.216560 INFO shedy_heating: --- [R:room_rose] ������ [SUB] <<Schedule 'room_rose'>/2/?/1:<Rule with sub <Schedule of 3 rules>, v=21>>
2019-11-21 21:59:41.219457 INFO shedy_heating: --- [R:room_evan] ������ == breaking out of [<Rule with sub <Schedule 'room-individual'>>, <Rule with sub <Schedule 'room_evan'>>, <Rule with sub <Schedule of 3 rules>, v=21>, <Rule with sub <Schedule of 1 rules>, weekdays={1-5}>, <Rule with sub <Schedule of 3 rules>>]
2019-11-21 21:59:41.227446 INFO shedy_heating: --- [R:room_evan] ������ [SUB] <<Schedule 'room_evan'>/2/?/1/3:<Rule with sub <Schedule of 2 rules>, weekdays={6-7}>>
2019-11-21 21:59:41.229938 INFO shedy_heating: --- [R:room_evan] ������ [INA] <<Schedule 'room_evan'>/2/?/1/3/1:<Rule from 08:00 to 09:00>>
2019-11-21 21:59:41.232362 INFO shedy_heating: --- [R:room_evan] ������ [INA] <<Schedule 'room_evan'>/2/?/1/3/2:<Rule from 21:00 to 22:30>>
2019-11-21 21:59:41.251108 INFO shedy_heating: --- [R:room_rose] ������ [ACT] <<Schedule 'room_rose'>/2/?/1/1:<Rule x="Break() if float(state('sensor.xiaomi_mi"...>>
2019-11-21 21:59:41.253667 INFO shedy_heating: --- [R:room_rose] ������ => Break()
2019-11-21 21:59:41.263609 INFO shedy_heating: --- [R:room_rose] ������ == breaking out of [<Rule with sub <Schedule 'room-individual'>>, <Rule with sub <Schedule 'room_rose'>>, <Rule with sub <Schedule of 3 rules>, v=21>]
2019-11-21 21:59:41.267968 INFO shedy_heating: --- [R:room_evan] ������ [SUB] <<Schedule 'room_evan'>/3:<Rule with sub <Schedule 'append'>>>
2019-11-21 21:59:41.271480 INFO shedy_heating: --- [R:room_evan] ������ [ACT] <<Schedule 'room_evan'>/3/1:<Rule v='OFF'>>
2019-11-21 21:59:41.273639 INFO shedy_heating: --- [R:room_rose] ������ [SUB] <<Schedule 'room_rose'>/3:<Rule with sub <Schedule 'append'>>>
2019-11-21 21:59:41.278694 INFO shedy_heating: --- [R:room_rose] ������ [ACT] <<Schedule 'room_rose'>/3/1:<Rule v='OFF'>>
2019-11-21 21:59:41.275978 INFO shedy_heating: --- [R:room_evan] ������ => 'OFF'
2019-11-21 21:59:41.283478 INFO shedy_heating: --- [R:room_evan] Final result: OFF, markers: set()
2019-11-21 21:59:41.292653 INFO shedy_heating: --- [R:room_evan] Result didn't change, not setting it again.
2019-11-21 21:59:41.281224 INFO shedy_heating: --- [R:room_rose] ������ => 'OFF'
2019-11-21 21:59:41.298097 INFO shedy_heating: --- [R:room_rose] Final result: OFF, markers: set()
2019-11-21 21:59:41.294005 INFO shedy_heating: --- [R:room_evan] Unchanged HA state: state='OFF', attributes={'actor_wanted_values': {'climate.air_conditioner_evan': 'OFF'}, 'scheduled_value': 'OFF', 'rescheduling_time': None, 'overlay_active': False}
2019-11-21 21:59:41.308657 INFO shedy_heating: --- [R:room_rose] Result didn't change, not setting it again.
2019-11-21 21:59:41.310809 INFO shedy_heating: --- [R:room_rose] Unchanged HA state: state='OFF', attributes={'actor_wanted_values': {'climate.air_conditioner_rose': 'OFF'}, 'scheduled_value': 'OFF', 'rescheduling_time': None, 'overlay_active': False}
2019-11-21 22:00:36.244649 INFO shedy_heating: --- [R:bedroom] ������ [SUB] <<Schedule 'bedroom'>/1:<Rule with sub <Schedule 'prepend'>>>
2019-11-21 22:00:36.247834 INFO shedy_heating: --- [R:bedroom] ������ [ACT] <<Schedule 'bedroom'>/1/1:<Rule x='Mark(OFF, Mark.OVERLAY) if not is_empty('...>>
2019-11-21 22:00:36.251807 INFO shedy_heating: --- [R:room_rose] ������ [ACT] <<Schedule 'room_rose'>/1/1:<Rule x='Mark(OFF, Mark.OVERLAY) if not is_empty('...>>
2019-11-21 22:00:36.254680 INFO shedy_heating: --- [R:room_evan] ������ [ACT] <<Schedule 'room_evan'>/1/1:<Rule x='Mark(OFF, Mark.OVERLAY) if not is_empty('...>>
2019-11-21 22:00:36.256845 INFO shedy_heating: --- [R:room_evan] Initializing expression helper: BasicHelper, order = 0
2019-11-21 22:00:36.266639 INFO shedy_heating: --- [R:bedroom] Initializing expression helper: BasicHelper, order = 0
2019-11-21 22:00:36.276936 INFO shedy_heating: --- [R:room_rose] Initializing expression helper: BasicHelper, order = 0
2019-11-21 22:00:36.279390 INFO shedy_heating: --- [R:room_rose] Initializing expression helper: PatternHelper, order = 0
2019-11-21 22:00:36.282045 INFO shedy_heating: --- [R:room_rose] Initializing expression helper: ScheduleHelper, order = 0
2019-11-21 22:00:36.282829 INFO shedy_heating: --- [R:room_evan] Initializing expression helper: PatternHelper, order = 0
2019-11-21 22:00:36.313043 INFO shedy_heating: --- [R:room_rose] Initializing expression helper: StateHelper, order = 0
2019-11-21 22:00:36.338285 INFO shedy_heating: --- [R:room_evan] Initializing expression helper: ScheduleHelper, order = 0
2019-11-21 22:00:36.340597 INFO shedy_heating: --- [R:room_rose] Initializing expression helper: ThermostatExpressionHelper, order = 0
2019-11-21 22:00:36.343720 INFO shedy_heating: --- [R:room_rose] Initializing expression helper: CustomEnvironmentHelper, order = 1000
2019-11-21 22:00:36.354099 INFO shedy_heating: --- [R:room_evan] Initializing expression helper: StateHelper, order = 0
2019-11-21 22:00:36.356390 INFO shedy_heating: --- [R:room_evan] Initializing expression helper: ThermostatExpressionHelper, order = 0
2019-11-21 22:00:36.358877 INFO shedy_heating: --- [R:room_rose] Executing the expression_environment script.
2019-11-21 22:00:36.360278 INFO shedy_heating: --- [R:bedroom] Initializing expression helper: PatternHelper, order = 0
2019-11-21 22:00:36.363103 INFO shedy_heating: --- [R:bedroom] Initializing expression helper: ScheduleHelper, order = 0
2019-11-21 22:00:36.383650 INFO shedy_heating: --- [R:room_evan] Initializing expression helper: CustomEnvironmentHelper, order = 1000
2019-11-21 22:00:36.386264 INFO shedy_heating: --- [R:room_evan] Executing the expression_environment script.
2019-11-21 22:00:36.395900 INFO shedy_heating: --- [R:bedroom] Initializing expression helper: StateHelper, order = 0
2019-11-21 22:00:36.397534 INFO shedy_heating: --- [R:bedroom] Initializing expression helper: ThermostatExpressionHelper, order = 0
2019-11-21 22:00:36.503695 INFO shedy_heating: --- [R:bedroom] Initializing expression helper: CustomEnvironmentHelper, order = 1000
2019-11-21 22:00:36.505945 INFO shedy_heating: --- [R:bedroom] Executing the expression_environment script.
2019-11-21 22:00:36.719953 INFO shedy_heating: --- [R:bedroom] ������ => Next()
2019-11-21 22:00:36.721568 INFO shedy_heating: --- [R:room_evan] ������ => Next()
2019-11-21 22:00:36.733410 INFO shedy_heating: --- [R:room_rose] ������ => Next()
2019-11-21 22:00:36.735734 INFO shedy_heating: --- [R:room_rose] ������ [ACT] <<Schedule 'room_rose'>/1/2:<Rule x="Abort() if is_off('input_boolean.automat"...>>
2019-11-21 22:00:36.738127 INFO shedy_heating: --- [R:room_evan] ������ [ACT] <<Schedule 'room_evan'>/1/2:<Rule x="Abort() if is_off('input_boolean.automat"...>>
2019-11-21 22:00:36.748262 INFO shedy_heating: --- [R:bedroom] ������ [ACT] <<Schedule 'bedroom'>/1/2:<Rule x="Abort() if is_off('input_boolean.automat"...>>
2019-11-21 22:00:37.051028 INFO shedy_heating: --- [R:room_rose] ������ => Next()
2019-11-21 22:00:37.064750 INFO shedy_heating: --- [R:room_evan] ������ => Next()
2019-11-21 22:00:37.107296 INFO shedy_heating: --- [R:room_evan] ������ [ACT] <<Schedule 'room_evan'>/1/3:<Rule x="Abort() if is_off('input_boolean.automat"...>>
2019-11-21 22:00:37.107897 INFO shedy_heating: --- [R:room_rose] ������ [ACT] <<Schedule 'room_rose'>/1/3:<Rule x="Abort() if is_off('input_boolean.automat"...>>
2019-11-21 22:00:37.392015 INFO shedy_heating: --- [R:bedroom] ������ => Next()
2019-11-21 22:00:37.392462 INFO shedy_heating: --- [R:room_evan] ������ => Next()
2019-11-21 22:00:37.400033 INFO shedy_heating: --- [R:room_rose] ������ => Next()
2019-11-21 22:00:37.413477 INFO shedy_heating: --- [R:bedroom] ������ [ACT] <<Schedule 'bedroom'>/1/3:<Rule x="Abort() if is_off('input_boolean.automat"...>>
2019-11-21 22:00:37.415948 INFO shedy_heating: --- [R:room_evan] ������ [SUB] <<Schedule 'room_evan'>/2:<Rule with sub <Schedule 'room-individual'>>>
2019-11-21 22:00:37.418534 INFO shedy_heating: --- [R:room_evan] ������ [ACT] <<Schedule 'room_evan'>/2/1:<Rule x="IncludeSchedule(schedule_snippets['room_"...>>
2019-11-21 22:00:37.419521 INFO shedy_heating: --- [R:room_rose] ������ [SUB] <<Schedule 'room_rose'>/2:<Rule with sub <Schedule 'room-individual'>>>
2019-11-21 22:00:37.423509 INFO shedy_heating: --- [R:room_rose] ������ [ACT] <<Schedule 'room_rose'>/2/1:<Rule x="IncludeSchedule(schedule_snippets['room_"...>>
2019-11-21 22:00:37.472654 INFO shedy_heating: --- [R:room_evan] ������ => IncludeSchedule(<Schedule 'room_evan'>)
2019-11-21 22:00:37.544870 INFO shedy_heating: --- [R:room_rose] ������ => IncludeSchedule(<Schedule 'room_rose'>)
2019-11-21 22:00:37.558577 INFO shedy_heating: --- [R:room_evan] ������ [SUB] <<Schedule 'room_evan'>/2/?:<Rule with sub <Schedule 'room_evan'>>>
2019-11-21 22:00:37.615757 INFO shedy_heating: --- [R:room_rose] ������ [SUB] <<Schedule 'room_rose'>/2/?:<Rule with sub <Schedule 'room_rose'>>>
2019-11-21 22:00:37.646489 INFO shedy_heating: --- [R:room_evan] ������ [SUB] <<Schedule 'room_evan'>/2/?/1:<Rule with sub <Schedule of 3 rules>, v=21>>
2019-11-21 22:00:37.660605 INFO shedy_heating: --- [R:room_rose] ������ [SUB] <<Schedule 'room_rose'>/2/?/1:<Rule with sub <Schedule of 3 rules>, v=21>>
2019-11-21 22:00:37.721335 INFO shedy_heating: --- [R:room_rose] ������ [ACT] <<Schedule 'room_rose'>/2/?/1/1:<Rule x="Break() if float(state('sensor.xiaomi_mi"...>>
2019-11-21 22:00:37.826608 INFO shedy_heating: --- [R:room_evan] ������ [ACT] <<Schedule 'room_evan'>/2/?/1/1:<Rule x="Break() if float(state('sensor.xiaomi_mi"...>>
2019-11-21 22:00:38.037061 INFO shedy_heating: --- [SP:upstairs_temp_delta] Value for A:climate.air_conditioner_bedroom in R:bedroom is 0.0.
2019-11-21 22:00:38.039730 INFO shedy_heating: --- [SP:upstairs_temp_delta] Value for A:climate.air_conditioner_evan in R:room_evan is 0.0.
2019-11-21 22:00:38.046271 INFO shedy_heating: --- [SP:upstairs_temp_delta] Value for A:climate.air_conditioner_rose in R:room_rose is 0.0.
2019-11-21 22:00:38.060283 INFO shedy_heating: --- [R:room_rose] ������ => Break()
2019-11-21 22:00:38.062420 INFO shedy_heating: --- [R:bedroom] ������ => Next()
2019-11-21 22:00:38.072178 INFO shedy_heating: --- [R:bedroom] ������ [SUB] <<Schedule 'bedroom'>/2:<Rule with sub <Schedule 'room-individual'>>>
2019-11-21 22:00:38.086740 INFO shedy_heating: --- [R:room_rose] ������ [SUB] <<Schedule 'room_rose'>/3:<Rule with sub <Schedule 'append'>>>
2019-11-21 22:00:38.088898 INFO shedy_heating: --- [R:room_rose] ������ [ACT] <<Schedule 'room_rose'>/3/1:<Rule v='OFF'>>
2019-11-21 22:00:38.084153 INFO shedy_heating: --- [R:bedroom] ������ [ACT] <<Schedule 'bedroom'>/2/1:<Rule x="IncludeSchedule(schedule_snippets['bedro"...>>
2019-11-21 22:00:38.096203 INFO shedy_heating: --- [R:bedroom] ������ => IncludeSchedule(<Schedule 'bedroom'>)
2019-11-21 22:00:38.107283 INFO shedy_heating: --- [R:room_rose] ������ => 'OFF'
2019-11-21 22:00:38.108805 INFO shedy_heating: --- [R:bedroom] ������ [SUB] <<Schedule 'bedroom'>/2/?:<Rule with sub <Schedule 'bedroom'>>>
2019-11-21 22:00:38.122540 INFO shedy_heating: --- [R:room_rose] Final result: OFF, markers: set()
2019-11-21 22:00:38.127861 INFO shedy_heating: --- [R:room_rose] Result didn't change, not setting it again.
2019-11-21 22:00:38.131787 INFO shedy_heating: --- [R:bedroom] ������ [SUB] <<Schedule 'bedroom'>/2/?/1:<Rule with sub <Schedule of 3 rules>, v=24>>
2019-11-21 22:00:38.166969 INFO shedy_heating: --- [R:bedroom] ������ [ACT] <<Schedule 'bedroom'>/2/?/1/1:<Rule x="Break() if float(state('sensor.temperatu"...>>
2019-11-21 22:00:38.168780 INFO shedy_heating: --- [R:room_rose] Unchanged HA state: state='OFF', attributes={'actor_wanted_values': {'climate.air_conditioner_rose': 'OFF'}, 'scheduled_value': 'OFF', 'rescheduling_time': None, 'overlay_active': False}
2019-11-21 22:00:38.169983 INFO shedy_heating: --- [SP:upstairs_temp_delta] Unchanged HA state: attributes={'min': 0.0, 'avg': 0.0, 'max': 0.0}
2019-11-21 22:00:38.485149 INFO shedy_heating: --- [R:room_evan] ������ => Next()
2019-11-21 22:00:38.492390 INFO shedy_heating: --- [R:room_evan] ������ [SUB] <<Schedule 'room_evan'>/2/?/1/2:<Rule with sub <Schedule of 1 rules>, weekdays={1-5}>>
2019-11-21 22:00:38.493761 INFO shedy_heating: --- [R:room_evan] ������ [SUB] <<Schedule 'room_evan'>/2/?/1/2/1:<Rule with sub <Schedule of 3 rules>>>
2019-11-21 22:00:38.507868 INFO shedy_heating: --- [R:room_evan] ������ [ACT] <<Schedule 'room_evan'>/2/?/1/2/1/1:<Rule x="Next() if heating_mode() != 'Normal' els"...>>
2019-11-21 22:00:38.801595 INFO shedy_heating: --- [R:bedroom] ������ => Next()
2019-11-21 22:00:38.806398 INFO shedy_heating: --- [R:room_evan] ������ => Break()
2019-11-21 22:00:38.808122 INFO shedy_heating: --- [R:room_evan] ������ == breaking out of [<Rule with sub <Schedule 'room-individual'>>, <Rule with sub <Schedule 'room_evan'>>, <Rule with sub <Schedule of 3 rules>, v=21>, <Rule with sub <Schedule of 1 rules>, weekdays={1-5}>, <Rule with sub <Schedule of 3 rules>>]
2019-11-21 22:00:38.818268 INFO shedy_heating: --- [R:bedroom] ������ [SUB] <<Schedule 'bedroom'>/2/?/1/2:<Rule with sub <Schedule of 1 rules>, weekdays={1-5}>>
2019-11-21 22:00:38.819237 INFO shedy_heating: --- [R:room_evan] ������ [SUB] <<Schedule 'room_evan'>/2/?/1/3:<Rule with sub <Schedule of 2 rules>, weekdays={6-7}>>
2019-11-21 22:00:38.833538 INFO shedy_heating: --- [R:bedroom] ������ [SUB] <<Schedule 'bedroom'>/2/?/1/2/1:<Rule with sub <Schedule of 3 rules>>>
2019-11-21 22:00:38.836332 INFO shedy_heating: --- [R:bedroom] ������ [ACT] <<Schedule 'bedroom'>/2/?/1/2/1/1:<Rule x="Next() if heating_mode() != 'Normal' els"...>>
2019-11-21 22:00:38.836884 INFO shedy_heating: --- [R:room_evan] ������ [INA] <<Schedule 'room_evan'>/2/?/1/3/1:<Rule from 08:00 to 09:00>>
2019-11-21 22:00:38.839307 INFO shedy_heating: --- [R:bedroom] ������ => Break()
2019-11-21 22:00:38.848412 INFO shedy_heating: --- [R:room_evan] ������ [INA] <<Schedule 'room_evan'>/2/?/1/3/2:<Rule from 21:00 to 22:30>>
2019-11-21 22:00:38.854656 INFO shedy_heating: --- [R:room_evan] ������ [SUB] <<Schedule 'room_evan'>/3:<Rule with sub <Schedule 'append'>>>
2019-11-21 22:00:38.852115 INFO shedy_heating: --- [R:bedroom] ������ == breaking out of [<Rule with sub <Schedule 'room-individual'>>, <Rule with sub <Schedule 'bedroom'>>, <Rule with sub <Schedule of 3 rules>, v=24>, <Rule with sub <Schedule of 1 rules>, weekdays={1-5}>, <Rule with sub <Schedule of 3 rules>>]
2019-11-21 22:00:38.861468 INFO shedy_heating: --- [R:room_evan] ������ [ACT] <<Schedule 'room_evan'>/3/1:<Rule v='OFF'>>
2019-11-21 22:00:38.865109 INFO shedy_heating: --- [R:room_evan] ������ => 'OFF'
2019-11-21 22:00:38.867209 INFO shedy_heating: --- [R:bedroom] ������ [SUB] <<Schedule 'bedroom'>/2/?/1/3:<Rule with sub <Schedule of 2 rules>, weekdays={6-7}>>
2019-11-21 22:00:38.869705 INFO shedy_heating: --- [R:room_evan] Final result: OFF, markers: set()
2019-11-21 22:00:38.871960 INFO shedy_heating: --- [R:room_evan] Result didn't change, not setting it again.
2019-11-21 22:00:38.874576 INFO shedy_heating: --- [R:room_evan] Unchanged HA state: state='OFF', attributes={'actor_wanted_values': {'climate.air_conditioner_evan': 'OFF'}, 'scheduled_value': 'OFF', 'rescheduling_time': None, 'overlay_active': False}
2019-11-21 22:00:38.875361 INFO shedy_heating: --- [R:bedroom] ������ [INA] <<Schedule 'bedroom'>/2/?/1/3/1:<Rule from 06:00 to 07:00>>
2019-11-21 22:00:38.877218 INFO shedy_heating: --- [R:bedroom] ������ [INA] <<Schedule 'bedroom'>/2/?/1/3/2:<Rule from 22:00 to 23:59>>
2019-11-21 22:00:38.878593 INFO shedy_heating: --- [R:bedroom] ������ [SUB] <<Schedule 'bedroom'>/3:<Rule with sub <Schedule 'append'>>>
2019-11-21 22:00:38.882228 INFO shedy_heating: --- [R:bedroom] ������ [ACT] <<Schedule 'bedroom'>/3/1:<Rule v='OFF'>>
2019-11-21 22:00:38.885294 INFO shedy_heating: --- [R:bedroom] ������ => 'OFF'
2019-11-21 22:00:38.889803 INFO shedy_heating: --- [R:bedroom] Final result: OFF, markers: set()
2019-11-21 22:00:38.891073 INFO shedy_heating: --- [R:bedroom] Result didn't change, not setting it again.
2019-11-21 22:00:38.892291 INFO shedy_heating: --- [R:bedroom] Unchanged HA state: state='OFF', attributes={'actor_wanted_values': {'climate.air_conditioner_bedroom': 'OFF'}, 'scheduled_value': 'OFF', 'rescheduling_time': None, 'overlay_active': False}