Thanks! The sensors device class has to be specified correctly otherwise the blueprint does not find matching entitys. Your workaround shows all sensors - what in a lot of cases can become overwhelming.
As @Blade1337 reccomended you can use a “Template Binary Sensor” in order to make a (window) sensor group. Here you can also define a “device_class” so that my blueprint will recognize it as a window sensor.
You can put as many sensors as you want - the following example consists of two sensors.
binary_sensor:
- platform: template
sensors:
window_group:
friendly_name: Window Sensor with several Sensors
value_template: >-
{{ is_state('binary_sensor.training_fenster_936', 'on')
or is_state('binary_sensor.training_philio_4_1_window_940', 'on')
}}
device_class: window
Unfortunately it is not yet possible to do it directly in the Blueprint.