Energy Consumption switch certain months ( Northern Colorado )

I live in Horthern Colorado where we have Summer and Non-Summer peak hours. Would you know how to incorporate only certain MONTHS into the actomation?

|Summer May-September|On-Peak - Monday-Friday, 2-7 p.m.|27.15¢ / kWh| |Off-Peak- All other hours, weekends and major holidays*|7.54¢ / kWh|

|Non-Summer October-April|On-Peak - Monday-Friday, 5-9 p.m.|25.03¢ / kWh| |Off-Peak - All other hours, weekends and major holidays*|7.54¢ / kWh|

My current automation which only covers “NON-SUMMER” time

- id: '166527420908215489513206'
  alias: Tarrif automation switch
  description: ''
  trigger:
  - platform: time
    at: '17:00:00'
    variables:
      tariff: peak
  - platform: time
    at: '21:00:00'
    variables:
      tariff: offpeak
  condition:
  - condition: time
    weekday:
    - mon
    - tue
    - wed
    - thu
    - fri
  action:
  - service: select.select_option
    target:
      entity_id: select.daily_energy
    data:
      option: '{{ tariff }}'
  - service: select.select_option
    target:
      entity_id: select.daily_energy_refrigerator
    data:
      option: '{{ tariff }}'
  - service: select.select_option
    target:
      entity_id: select.monthly_energy
    data:
      option: '{{ tariff }}'
  - service: select.select_option
    target:
      entity_id: select.monthly_energy_refrigerator
    data:
      option: '{{ tariff }}'

the month condition is, so I`m testing it with simple Boolean

    - condition: template
      value_template: "{{ now().month in [4,5,6,7,8,9,10] }}"
- id: '1676483339754'
  alias: Turn Peak tariff ON Winter
  description: Turn Peak tariff ON Winter
  trigger:
  - platform: time
    at: '17:00:00'
  condition:
  - condition: time
    weekday:
    - mon
    - tue
    - wed
    - thu
    - fri
  - condition: template
    value_template: '{{ now().month in [10,11,12,1,2,3,4] }}'
  action:
  - service: input_boolean.turn_on
    data: {}
    target:
      entity_id: input_boolean.peak
  mode: single
- id: '1676483443889'
  alias: Turn Peak tariff OFF Winter
  description: Turn Peak tariff OFF Winter
  trigger:
  - platform: time
    at: '21:00:00'
  condition:
  - condition: time
    weekday:
    - mon
    - tue
    - wed
    - thu
    - fri
  - condition: template
    value_template: '{{ now().month in [10,11,12,1,2,3,4] }}'
  action:
  - service: input_boolean.turn_on
    data: {}
    target:
      entity_id: input_boolean.peak
  mode: single
- id: '1676483585627'
  alias: Turn Peak tariff ON Summer
  description: Turn Peak tariff ON Summer
  trigger:
  - platform: time
    at: '14:00:00'
  condition:
  - condition: time
    weekday:
    - mon
    - tue
    - wed
    - thu
    - fri
  - condition: template
    value_template: '{{ now().month in [5,6,7,8,9] }}'
  action:
  - service: input_boolean.turn_on
    data: {}
    target:
      entity_id: input_boolean.peak
  mode: single
- id: '1676483624012'
  alias: Turn Peak tariff OFF Summer
  description: Turn Peak tariff OFF Summer
  trigger:
  - platform: time
    at: '19:00:00'
  condition:
  - condition: time
    weekday:
    - mon
    - tue
    - wed
    - thu
    - fri
  - condition: template
    value_template: '{{ now().month in [5,6,7,8,9] }}'
  action:
  - service: input_boolean.turn_on
    data: {}
    target:
      entity_id: input_boolean.peak
  mode: single