1#
2# Copyright (c) 2023 Ian Morris
3#
4# SPDX-License-Identifier: Apache-2.0
5#
6
7sample:
8  description: Digital Humidity Temperature polling sample
9  name: DHT polling sample
10tests:
11  sample.sensor.dht_polling:
12    tags: sensors
13    filter: dt_alias_exists("dht0")
14    integration_platforms:
15      - nucleo_f401re
16    harness: console
17    harness_config:
18      fixture: fixture_i2c_hs300x
19      type: one_line
20      regex:
21        - "[0-9A-Za-z_,+-.]*@[0-9A-Fa-f]*: temp is (.*) °C humidity is (.*) %RH"
22