From 53634e84f8d16d8d6c6b5e3a7682acee1e525f8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20BOU=C3=89?= Date: Tue, 11 Apr 2023 10:46:47 +0200 Subject: [PATCH] Update doc to add multiple dallas hubs (#2783) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update doc to add multiple dallas hubs If you have multiple dallas hubs * Update dallas.rst * Fix * Title underline too short * Update dallas.rst --------- Co-authored-by: H. Árkosi Róbert --- components/sensor/dallas.rst | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/components/sensor/dallas.rst b/components/sensor/dallas.rst index 2c0698774..8f6e2e557 100644 --- a/components/sensor/dallas.rst +++ b/components/sensor/dallas.rst @@ -145,6 +145,29 @@ You will see the outputted sensor values changing when they're being warmed. When you're finished mapping each address to a name, just change the ``Temperature #1`` to your assigned names and you should be ready. +Multiple dallas hubs +******************** + +Use this if you have multiple dallas hubs: + +.. code-block:: yaml + + # Example configuration entry + dallas: + - pin: GPIO23 + id: hub_1 + - pin: GPIO24 + id: hub_2 + + sensor: + - platform: dallas + dallas_id: hub_1 + # ... + - platform: dallas + dallas_id: hub_2 + # ... + + See Also --------