Update doc to add multiple dallas hubs (#2783)

* 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 <robreg@zsurob.hu>
This commit is contained in:
Ludovic BOUÉ 2023-04-11 10:46:47 +02:00 committed by GitHub
parent 7d8d015be5
commit 53634e84f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 23 additions and 0 deletions

View File

@ -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
--------