17 lines
394 B
YAML
17 lines
394 B
YAML
# Copyright (c) 2021, Thomas Stranger
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: Maxim 1-Wire temperature sensor
|
|
|
|
compatible: "maxim,ds18b20"
|
|
|
|
include: [sensor-device.yaml, w1-slave.yaml]
|
|
|
|
properties:
|
|
resolution:
|
|
type: int
|
|
required: true
|
|
description: |
|
|
Resolution of the temperature reading in bit.
|
|
Valid configurations are from 9 to 12 bits.
|