From 1ee248fd349e9855c1a2c3c10e8fdfe20cdceec2 Mon Sep 17 00:00:00 2001 From: leejoow Date: Mon, 20 Oct 2025 07:57:43 +0200 Subject: [PATCH] Added index configuration variable entry --- content/components/sensor/dallas_temp.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/components/sensor/dallas_temp.md b/content/components/sensor/dallas_temp.md index 2caf5116bd..44ab52f856 100644 --- a/content/components/sensor/dallas_temp.md +++ b/content/components/sensor/dallas_temp.md @@ -18,13 +18,15 @@ required to be set up in your configuration for this sensor to work. sensor: - platform: dallas_temp address: 0x1234567812345628 + index: 1 name: temperature update_interval: 120s ``` ## Configuration variables -- **address** (*Optional*, int): The address of the sensor. Required if there is more than one device on the bus. +- **address** (*Optional*, int): The address of the sensor. Required if there is more than one device on the bus and index is not specified. +- **index** (*Optional*, byte): The index of the sensor. Required if there is more than one device on the bus and address is not specified. *Note this index is based on the hardware addresses of the sensor and indexes will shift when during startup a sensor is not connected.* - **resolution** (*Optional*, int): An optional resolution from 9 to 12. Higher means more accurate. Defaults to the maximum for most Dallas temperature sensors: 12.