mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 14:56:53 +00:00
Add names:
This commit is contained in:
parent
0280389b96
commit
30ca8cc688
@ -14,7 +14,7 @@ The `onewire` platform supports sensors which are using the One wire (1-wire) bu
|
|||||||
|
|
||||||
Supported devices:
|
Supported devices:
|
||||||
|
|
||||||
- [DS18B20}(https://datasheets.maximintegrated.com/en/ds/DS18B20.pdf)
|
- [DS18B20](https://datasheets.maximintegrated.com/en/ds/DS18B20.pdf)
|
||||||
|
|
||||||
To enable One wire sensors in your installation, add the following to your `configuration.yaml` file:
|
To enable One wire sensors in your installation, add the following to your `configuration.yaml` file:
|
||||||
|
|
||||||
@ -22,4 +22,11 @@ To enable One wire sensors in your installation, add the following to your `conf
|
|||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
sensor:
|
sensor:
|
||||||
platform: onewire
|
platform: onewire
|
||||||
|
names:
|
||||||
|
some_id: your name
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Configuration variables:
|
||||||
|
|
||||||
|
- **names** array (*Optional*): ID and friendly name of your sensors.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user