I am trying to make a blueprint where I can select devices with both a temperature sensor AND a humidity sensor.
Here is the start of the blueprint (only selector-part):
blueprint:
name: Test select T&H devices
description: >-
Try to select devices which has both humidity AND temperature sensors.
domain: script
input:
test_device:
name: Test Device selecting T&H devices
description: select T&H device
selector:
device:
entity:
- domain: sensor
device_class:
- humidity
- temperature
This is just the selector-part of the blueprint. This is giving all devices that has sensors with device_class humidity
OR device class temperature
.
I also tried:
selector:
device:
entity:
- domain: sensor
device_class: humidity
- domain: sensor
device_class: temperature
this also gives the OR option
I need the option to select devices with has both a temperature and a humidity sensor, the AND-option
Can this be done?