ha-school: Fix indentation.
This commit is contained in:
parent
4ae05fd735
commit
a27674b1b3
1 changed files with 80 additions and 80 deletions
|
|
@ -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:
|
The corresponding portion of the config for `ha-mqtt-iot` looks like the following:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
"lights": [
|
"lights": [
|
||||||
{
|
{
|
||||||
"info": {
|
"info": {
|
||||||
"name": "Desktop Monitor",
|
"name": "Desktop Monitor",
|
||||||
|
|
@ -214,7 +214,7 @@ The corresponding portion of the config for `ha-mqtt-iot` looks like the followi
|
||||||
"brightness_scale": 100,
|
"brightness_scale": 100,
|
||||||
"update_interval": 5
|
"update_interval": 5
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
Pretty simple.
|
Pretty simple.
|
||||||
|
|
@ -222,7 +222,7 @@ This makes custom system sensors trivial.
|
||||||
For example, to show my system IP, I use the following:
|
For example, to show my system IP, I use the following:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
"sensors": [
|
"sensors": [
|
||||||
{
|
{
|
||||||
"info": {
|
"info": {
|
||||||
"name": "IP Address Desktop Solus",
|
"name": "IP Address Desktop Solus",
|
||||||
|
|
@ -236,7 +236,7 @@ For example, to show my system IP, I use the following:
|
||||||
],
|
],
|
||||||
"update_interval": 10
|
"update_interval": 10
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
Some common use cases are built in as well.
|
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:
|
An exhaustive example is quite short:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
"builtin": {
|
"builtin": {
|
||||||
"prefix": "Name Prefix ",
|
"prefix": "Name Prefix ",
|
||||||
"backlight": {
|
"backlight": {
|
||||||
"enable": true,
|
"enable": true,
|
||||||
|
|
@ -266,7 +266,7 @@ An exhaustive example is quite short:
|
||||||
"icon": "mdi:currency-usd"
|
"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.
|
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`:
|
From my `docker-compose.yml`:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
homeassistant:
|
homeassistant:
|
||||||
image: "docker.io/panubo/sshd"
|
image: "docker.io/panubo/sshd"
|
||||||
container_name: homeassistant
|
container_name: homeassistant
|
||||||
environment:
|
environment:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue