How do i automate the hvac_mode on generic_thermostat at specific time?

Here’s what i’m working with so far but it’s failing. Can someone please point me in the right direction. Thanks in advance :smiley:

- id: '1594156818891'
  alias: Turn on AC in the bedroom at night
  description: ''
  trigger:
  - at: '21:07:00'
    platform: time
  condition:
  - condition: state
    entity_id: group.everybody
    state: Home
  action:
  - data: {}
    entity_id: climate.thermostat_bedroom
    service: climate.turn_on

Change Home to home. The state displayed in the frontend often doesn’t match the actual state (consider what’s displayed in the frontend to be the “friendly state”). Always check for the actual state at developer tools > states

Here is an automation that i use to set the A/C during the daytime . I use a timer set for 40 minutes so that Honeywell does not “rate limit” me. Hope it helps

'id: '1584725684719'
  alias: Upstairs climate  A/C daytime
  description: ''
  trigger:
  - entity_id: sensor.average_upstairs_temperature
    platform: state
  condition:
  - after: '9:00'
    before: '20:00'
    condition: time
  - above: '73'
    condition: numeric_state
    entity_id: sensor.average_upstairs_temperature
  - condition: state
    entity_id: timer.test
    state: idle
  action:
  - data:
      hvac_mode: cool
    entity_id: climate.thermo_up
    service: climate.set_hvac_mode
  - data:
      temperature: 77
    entity_id: climate.thermo_up
    service: climate.set_temperature
  - data:
      message: Set A/C to 77
    service: notify.pushover
  - data: {}
    entity_id: timer.test
    service: timer.start

It would be more use if it were properly formatted.