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 platform_allow: 17 - adafruit_qt_py_rp2040/rp2040 18 - adafruit_feather_rp2040/rp2040 19 - adafruit_feather_canbus_rp2040/rp2040 20 - nucleo_f401re 21 extra_args: 22 - platform:adafruit_qt_py_rp2040/rp2040:SHIELD="adafruit_aht20" 23 - platform:adafruit_feather_rp2040/rp2040:SHIELD="adafruit_sht4x" 24 - platform:adafruit_feather_canbus_rp2040/rp2040:SHIELD="sparkfun_shtc3" 25 harness: console 26 harness_config: 27 fixture: fixture_i2c_hs300x 28 type: one_line 29 regex: 30 - "[0-9A-Za-z_,+-.]*@[0-9A-Fa-f]*: temp is (.*) °C humidity is (.*) %RH" 31