Folks,
I have a generic thermostat, that switches a heater in my office.
It is set between boos, none and away by an automation thats working just fine.
Now I added an automation that switches between A/C in summer, heating in winter and none in between. It is driven by a forecast weather value. This forecast value for temperature at 2pm is updated ever morning at 6am. (it also will have control over my shading with roller shutters and awnings later when I finished the roller shutter stuff)
So now this automation does reset my generic thermostat from where ever it is to away, once in a while. I cant follow how it happs. It does not exclusivly happen at 6am, I think it is may related to restarting HA when I change a config or so.
This is my automation code:
alias: SM_Heating&AC_on/off
description: ''
trigger:
- platform: numeric_state
entity_id: automation.test
below: '20'
- platform: numeric_state
entity_id: automation.test
above: '20'
- platform: numeric_state
entity_id: automation.test
below: '24'
- platform: numeric_state
entity_id: automation.test
above: '24'
condition: []
action:
- choose:
- conditions:
- condition: numeric_state
entity_id: automation.test
above: '20'
sequence:
- service: climate.turn_off
data: {}
target:
entity_id:
- climate.badheizung
- climate.buroheizung
- conditions:
- condition: numeric_state
entity_id: automation.test
below: '20'
sequence:
- service: climate.turn_on
data: {}
target:
entity_id:
- climate.buroheizung
- climate.badheizung
- service: switch.turn_off
data: {}
target:
entity_id: switch.steckdose_sm_ac
- conditions:
- condition: numeric_state
entity_id: automation.test
below: '24'
sequence:
- service: switch.turn_off
data: {}
target:
entity_id: switch.steckdose_sm_ac
- conditions:
- condition: numeric_state
entity_id: automation.test
above: '24'
sequence:
- service: switch.turn_on
data: {}
target:
entity_id: switch.steckdose_sm_ac
- service: climate.turn_off
data: {}
target:
entity_id:
- climate.buroheizung
- climate.badheizung
default: []
mode: single