diff --git a/Climate/bosch_bth-ra_control_dev.yaml b/Climate/bosch_bth-ra_control_dev.yaml index f886238..6513e40 100644 --- a/Climate/bosch_bth-ra_control_dev.yaml +++ b/Climate/bosch_bth-ra_control_dev.yaml @@ -13,7 +13,7 @@ blueprint: description: Konfiguration für den Bosch BTH-RA Radiator collapsed: false input: - radiator_entity: + trv: name: Thermostat description: Thermostat muss ein Bosch BTH-RA sein selector: @@ -81,31 +81,8 @@ blueprint: filter: - domain: switch -triggers: - - trigger: state - entity_id: - - !input window_sensor - from: "off" - to: "on" - for: !input window_delay_open - id: FENSTER_OPEN - - trigger: state - entity_id: - - !input window_sensor - from: "on" - to: "off" - for: !input window_delay_close - id: FENSTER_CLOSED - - platform: time_pattern - # Synce Temperatur alle 20 Minuten (Teiler von 60) - minutes: "/20" - id: SYNC_TEMPERATURE - - platform: state - entity_id: !input temperature_sensor - id: TEMP_CHANGED - variables: - trv: !input radiator_entity + trv: !input trv radiator_schedules: !input radiator_schedules temperature_sensor: !input temperature_sensor remote_temperature_entity: > @@ -143,6 +120,29 @@ variables: {% endfor %} {{ ns.current_temperature }} +triggers: + - trigger: state + entity_id: + - !input window_sensor + from: "off" + to: "on" + for: !input window_delay_open + id: FENSTER_OPEN + - trigger: state + entity_id: + - !input window_sensor + from: "on" + to: "off" + for: !input window_delay_close + id: FENSTER_CLOSED + - platform: time_pattern + # Synce Temperatur alle 20 Minuten (Teiler von 60) + minutes: "/20" + id: SYNC_TEMPERATURE + - platform: state + entity_id: "{{ temperature_sensor }}" + id: TEMP_CHANGED + actions: - choose: - conditions: