mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-25 10:17:23 +00:00
Update format
This commit is contained in:
parent
cade3fac3b
commit
bfdcbf133b
@ -15,11 +15,13 @@ Similar to Example Sensor Platform, Copy the code below and create it as a file
|
|||||||
|
|
||||||
Add the following to your configuration.yaml:
|
Add the following to your configuration.yaml:
|
||||||
|
|
||||||
light:
|
```yaml
|
||||||
- platform: awesomelights
|
light:
|
||||||
host: HOST_HERE
|
- platform: awesomelights
|
||||||
username: USERNAME_HERE
|
host: HOST_HERE
|
||||||
password: PASSWORD_HERE_OR_secrets.yaml
|
username: USERNAME_HERE
|
||||||
|
password: PASSWORD_HERE_OR_secrets.yaml
|
||||||
|
```
|
||||||
|
|
||||||
Note the `platform` name matches the filename for the source code.
|
Note the `platform` name matches the filename for the source code.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user