ha-school: Fix indentation.

This commit is contained in:
William Floyd 2021-12-26 00:26:52 -05:00
parent 4ae05fd735
commit a27674b1b3
Signed by untrusted user who does not match committer: william
GPG key ID: B3EEEDD81893CAF9

View file

@ -181,7 +181,7 @@ Note that the display doesn't respond to being turned back on, so this is somewh
The corresponding portion of the config for `ha-mqtt-iot` looks like the following:
```json
"lights": [
"lights": [
{
"info": {
"name": "Desktop Monitor",
@ -214,7 +214,7 @@ The corresponding portion of the config for `ha-mqtt-iot` looks like the followi
"brightness_scale": 100,
"update_interval": 5
}
]
]
```
Pretty simple.
@ -222,7 +222,7 @@ This makes custom system sensors trivial.
For example, to show my system IP, I use the following:
```json
"sensors": [
"sensors": [
{
"info": {
"name": "IP Address Desktop Solus",
@ -236,7 +236,7 @@ For example, to show my system IP, I use the following:
],
"update_interval": 10
}
]
]
```
Some common use cases are built in as well.
@ -245,7 +245,7 @@ These are really easy to call.
An exhaustive example is quite short:
```json
"builtin": {
"builtin": {
"prefix": "Name Prefix ",
"backlight": {
"enable": true,
@ -266,7 +266,7 @@ An exhaustive example is quite short:
"icon": "mdi:currency-usd"
}
]
}
}
```
This lets me tailor my setup to each machine I'm using, while still enjoying the benefits of Home Assistant MQTT Discovery.
@ -283,7 +283,7 @@ I have configured on my VPS a docker image that accepts reverse SSH tunnelling,
From my `docker-compose.yml`:
```yaml
homeassistant:
homeassistant:
image: "docker.io/panubo/sshd"
container_name: homeassistant
environment: