How to set all thermostat in heat_eco mode?

How to set all thermostats in preset mode heat_eco at night and when nobody is at home ?

Well first thing is to set all thermostats in heat_eco mode, and from there I think i can figure out how to automate the rest.

Ohh that isnt that difficult…
something like this seems to do the job

- id: '1576362653366'
  alias: Lower temperature at night
  description: ''
  trigger:
  - at: '20:00'
    platform: time
  condition: []
  action:
  - data:
      preset_mode: Heat Eco
    entity_id:
    - climate.bedroom_thermostat_mode
    - climate.office_thermostat_mode
    - climate.office_thermostat_2_mode
    - climate.kids_room_thermostat_mode
    - climate.kitchen_thermostat_mode
    - climate.living_room_thermostat_mode
    - climate.living_room_thermostat_2_mode
    service: climate.set_preset_mode