Toch geprobeerd het iets anders op te lossen door een groep aan te maken. Met dank aan @redah 
en om 23:00 uur de verwarming uitzetten
                    code:
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
 | - id: '1572299926149'
  alias: Lekker warm als iemand thuis is
  description: ''
  trigger:
  - hours: ''
    minutes: '10'
    platform: time_pattern
    seconds: ''
  condition:
  - after: 08:00:00
    before: '23:00:00'
    condition: time
  action:
  - data:
      data_template:
        temperature: "{% if is_state('group.personen', 'home') %}\n  21\n{% else %}\n\
          \  18\n{% endif %}"
      entity_id: climate.nefit_easy
    service: climate.set_temperature | 
en om 23:00 uur de verwarming uitzetten
code:
                    | 1
2
3
4
5
6
7
8
9
10
11
12
 | - id: '1572187636131'
  alias: Verwarming uitzetten om 23:00 uur
  description: ''
  trigger:
  - at: '23:00:00'
    platform: time
  condition: []
  action:
  - data:
      entity_id: climate.nefit_easy
      temperature: 18
    service: climate.set_temperature | 
Microsoft Surface Pro 6 | Samsung Galaxy S21FE | XBOX Series X




:fill(white):strip_exif()/i/2002871478.jpeg?f=thumbmini)
:fill(white):strip_exif()/i/2001890515.jpeg?f=thumbmini)
:fill(white):strip_exif()/i/2006976478.jpeg?f=thumbmini)
:fill(white):strip_exif()/i/2000583077.jpeg?f=thumbmini)
:fill(white):strip_exif()/i/2000809464.jpeg?f=thumbmini)
:fill(white):strip_exif()/i/2000629918.jpeg?f=thumbmini)
:fill(white):strip_exif()/i/2002131643.jpeg?f=thumbmini)
:strip_icc():strip_exif()/u/5144/crop5645f2a784ed8.jpeg?f=community) 
            :strip_icc():strip_exif()/u/232412/profiel_img_tweakers.jpg?f=community) 
            :strip_exif()/u/655449/crop5a9913c48b11c_cropped.gif?f=community) 
            /u/645137/crop587f364698723_cropped.png?f=community) 
            /u/143917/crop635fe053e2d26.png?f=community) 
            :strip_exif()/u/206557/captain-obvious.gif?f=community) 
            

:strip_icc():strip_exif()/u/34345/crop604df19f86683.jpg?f=community) 
            :strip_icc():strip_exif()/u/1085297/crop5b262ef103289_cropped.jpeg?f=community) 
             
                    :strip_exif()/u/20659/crop68b0a63d5da15.gif?f=community) 
            /u/55784/crop5aebfed47e17e.png?f=community) 
            /u/1002033/crop5a1d6e8df24f6_cropped.png?f=community) 
            /u/23573/Suepahfly-Small.png?f=community) 
            /u/81353/got.png?f=community) 
            
 Dit topic is gesloten.
 
                                                            Dit topic is gesloten.