alias: 1-Klima_Wohnzimmer Auto Abends description: "" trigger: - platform: state entity_id: - climate.wohnzimmer from: "off" to: heat - platform: numeric_state entity_id: climate.wohnzimmer attribute: current_temperature above: 18 below: 20 for: hours: 0 minutes: 0 seconds: 3 - platform: numeric_state entity_id: climate.wohnzimmer attribute: current_temperature above: 19 below: 21 for: hours: 0 minutes: 0 seconds: 3 - platform: numeric_state entity_id: climate.wohnzimmer attribute: current_temperature above: 20 below: 22 for: hours: 0 minutes: 0 seconds: 3 - platform: numeric_state entity_id: climate.wohnzimmer attribute: current_temperature above: 21 below: 23 for: hours: 0 minutes: 0 seconds: 3 - platform: numeric_state entity_id: climate.wohnzimmer attribute: current_temperature above: 22 below: 24 for: hours: 0 minutes: 0 seconds: 3 - platform: numeric_state entity_id: climate.wohnzimmer attribute: current_temperature above: 23 below: 25 for: hours: 0 minutes: 0 seconds: 3 - platform: numeric_state entity_id: climate.wohnzimmer attribute: current_temperature above: 24 below: 26 for: hours: 0 minutes: 0 seconds: 3 - platform: numeric_state entity_id: climate.wohnzimmer attribute: current_temperature above: 25 below: 27 for: hours: 0 minutes: 0 seconds: 3 - platform: numeric_state entity_id: climate.wohnzimmer attribute: current_temperature above: 26 below: 28 condition: - condition: state entity_id: climate.wohnzimmer state: heat - condition: numeric_state entity_id: climate.wohnzimmer attribute: outdoor_temp above: -15 below: 20 - condition: numeric_state entity_id: sensor.solax_grid_export below: 300 above: -1 action: - if: - condition: numeric_state entity_id: climate.wohnzimmer attribute: current_temperature above: 17 below: 19 then: - service: climate.set_temperature data: temperature: 18 target: entity_id: climate.wohnzimmer - if: - condition: numeric_state entity_id: climate.wohnzimmer attribute: current_temperature above: 18 below: 20 then: - service: climate.set_temperature data: temperature: 19 target: entity_id: climate.wohnzimmer - if: - condition: numeric_state entity_id: climate.wohnzimmer attribute: current_temperature above: 19 below: 21 then: - service: climate.set_temperature data: temperature: 20 target: entity_id: climate.wohnzimmer - if: - condition: numeric_state entity_id: climate.wohnzimmer attribute: current_temperature above: 20 below: 22 then: - service: climate.set_temperature data: temperature: 20 target: entity_id: climate.wohnzimmer - if: - condition: numeric_state entity_id: climate.wohnzimmer attribute: current_temperature above: 21 below: 23 then: - service: climate.set_temperature data: temperature: 21 target: entity_id: climate.wohnzimmer - if: - condition: numeric_state entity_id: climate.wohnzimmer attribute: current_temperature above: 22 below: 24 then: - service: climate.set_temperature data: temperature: 21 target: entity_id: climate.wohnzimmer - if: - condition: numeric_state entity_id: climate.wohnzimmer attribute: current_temperature above: 23 below: 25 then: - service: climate.set_temperature data: temperature: 22 target: entity_id: climate.wohnzimmer - if: - condition: numeric_state entity_id: climate.wohnzimmer attribute: current_temperature above: 24 below: 26 then: - service: climate.set_temperature data: temperature: 23 target: entity_id: climate.wohnzimmer - if: - condition: numeric_state entity_id: climate.wohnzimmer attribute: current_temperature above: 25 below: 27 then: - service: climate.set_temperature data: temperature: 24 target: entity_id: climate.wohnzimmer - if: - condition: numeric_state entity_id: climate.wohnzimmer attribute: current_temperature above: 26 below: 28 then: - service: climate.set_temperature data: temperature: 25 target: entity_id: climate.wohnzimmer - if: - condition: numeric_state entity_id: climate.wohnzimmer attribute: current_temperature above: 27 below: 29 then: - service: climate.set_temperature data: temperature: 26 target: entity_id: climate.wohnzimmer mode: single