Nest Thermostat Automation with OpenWeatherMap and Nest Preset Schedules compatibility

----Apologies ahead of time, Im new to posting on here and learning how to format all this-----

What I’m trying to do:

  1. If the Temperature at night is supposed to be below 70F, then notify my phone and turn off AC
  2. Checks run 5 min after then Nest Schedule for changing Modes (Comfort, Eco, Sleeping)
  3. Do the Same for Winter Except with Heating and above 65F.
  4. Allow it to come back to Cool/Heat if temp rises above set point
  5. Making sure it Notifies me when it does something to Thermostat

What I have so Far:

alias: Cool Summer Time
description: >-
  If OpenWeatherMap Forecast Temp is below 70 for 10min then Thermostat is
  turned off
trigger:
  - platform: time
    at: "05:05:00"
  - platform: state
    entity_id:
      - sensor.openweathermap_forecast_temperature
    to: < 70
    for:
      hours: 0
      minutes: 10
      seconds: 0
  - platform: time
    at: "07:35:00"
  - platform: state
    entity_id:
      - sensor.openweathermap_forecast_temperature
    to: < 70
    for:
      hours: 0
      minutes: 10
      seconds: 0
  - platform: time
    at: "15:35:00"
  - platform: state
    entity_id:
      - sensor.openweathermap_forecast_temperature
    to: < 70
    for:
      hours: 0
      minutes: 10
      seconds: 0
  - platform: time
    at: "22:35:00"
  - platform: state
    entity_id:
      - sensor.openweathermap_forecast_temperature
    to: < 70
    for:
      hours: 0
      minutes: 10
      seconds: 0
condition:
  - condition: state
    entity_id: climate.thermostat
    attribute: hvac_action
    state: cooling
action:
  - device_id: 0da84233f8ea94de25bce89ca1206dc8
    domain: climate
    entity_id: climate.thermostat
    type: set_hvac_mode
    hvac_mode: "off"
  - device_id: bbb4e038dcb147b0bb2546c8f643e277
    domain: mobile_app
    type: notify
    message: "Thermostat set to Off "
    title: Temp below 70 Degrees
mode: single

---- This one Also —

alias: Warm Summer Night
description: Makes Sure AC is on if night will be above 72 degrees
trigger:
  - platform: state
    entity_id:
      - sensor.openweathermap_forecast_temperature
    to: "> 72"
    for:
      hours: 0
      minutes: 10
      seconds: 0
  - platform: time
    at: "01:35:00"
  - platform: state
    entity_id:
      - sensor.openweathermap_forecast_temperature
    to: "> 72"
    for:
      hours: 0
      minutes: 10
      seconds: 0
  - platform: time
    at: "05:05:00"
  - platform: state
    entity_id:
      - sensor.openweathermap_forecast_temperature
    to: "> 72"
    for:
      hours: 0
      minutes: 10
      seconds: 0
  - platform: time
    at: "17:05:00"
condition:
  - condition: or
    conditions:
      - condition: state
        entity_id: climate.thermostat
        attribute: hvac_action
        state: "off"
      - condition: state
        entity_id: climate.thermostat
        attribute: hvac_action
        state: cooling
action:
  - device_id: bbb4e038dcb147b0bb2546c8f643e277
    domain: mobile_app
    type: notify
    message: Thermostat set to Cooling, Temp will Be over 72 Drgrees
    title: Changed Thermostat to On
  - if:
      - condition: state
        entity_id: climate.thermostat
        attribute: hvac_action
        state: "off"
    then:
      - device_id: 0da84233f8ea94de25bce89ca1206dc8
        domain: climate
        entity_id: climate.thermostat
        type: set_hvac_mode
        hvac_mode: cool
  - service: climate.set_temperature
    data:
      temperature: 72
    target:
      entity_id: climate.thermostat
mode: single

I’m going to see how this one works out, but I figured I could check on here if anyone has tips or sees issues? I’m not sure if HA would understand < 70 as “if temp is Below 70” etc etc. Always better if I let someone look at what Ive done cause 2nd set of eyes makes a big diff, imo.