1# Copyright (c) 2024 Würth Elektronik eiSos GmbH & Co. KG
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5    Würth Elektronik WSEN-HIDS-2525020210002 humidity sensor
6
7compatible: "we,wsen-hids-2525020210002"
8
9include: [sensor-device.yaml, i2c-device.yaml]
10
11properties:
12
13  precision:
14    type: string
15    default: "mid"
16    enum:
17      - "low"
18      - "mid"
19      - "high"
20    description: |
21      Sensor measurement precision for temperature and humidity.
22      Supported precision options are low, mid or high.
23      Defaults to mid, which is a good compromise between
24      current usage and precision.
25
26  heater:
27    type: string
28    default: "OFF"
29    enum:
30      - "OFF"
31      - "ON_200MW_1S"
32      - "ON_200MW_100MS"
33      - "ON_110MW_1S"
34      - "ON_110MW_100MS"
35      - "ON_20MW_1S"
36      - "ON_20MW_100MS"
37    description: |
38      Activate the heater when fetching a sample for the specified amount of time.
39      This is only possible when the precison is set to high.
40      Defaults to OFF, since this option is valid for high precision
41      and the default precision is mid.
42