1# Copyright (c) 2021 G-Technologies Sdn. Bhd.
2# SPDX-License-Identifier: Apache-2.0
3
4description: Winsen MHZ-19B CO2 Sensor
5
6compatible: "winsen,mhz19b"
7
8include: [sensor-device.yaml, uart-device.yaml]
9
10properties:
11  maximum-range:
12    type: int
13    required: true
14    description: CO2 detection range.
15    enum:
16      - 2000
17      - 5000
18      - 10000
19
20  abc-on:
21    type: boolean
22    description: |
23      Enable ABC self-calibration function
24