Restyled by prettier-markdown

This commit is contained in:
Restyled.io
2024-01-11 21:22:31 +00:00
parent 1f626f0fdb
commit bd242fe06c
2 changed files with 13 additions and 13 deletions

View File

@ -39,7 +39,7 @@ cards:
conditions: conditions:
- condition: state - condition: state
entity: binary_sensor.<device>_is_charging entity: binary_sensor.<device>_is_charging
state: 'on' state: "on"
chip: chip:
type: entity type: entity
icon_color: yellow icon_color: yellow
@ -55,7 +55,7 @@ cards:
conditions: conditions:
- condition: state - condition: state
entity: binary_sensor.<device>_is_charging entity: binary_sensor.<device>_is_charging
state: 'off' state: "off"
chip: chip:
type: entity type: entity
entity: sensor.<device>_battery_level entity: sensor.<device>_battery_level
@ -68,7 +68,7 @@ cards:
} }
- type: gauge - type: gauge
entity: sensor.<device>_battery_level entity: sensor.<device>_battery_level
unit: '%' unit: "%"
name: Watch name: Watch
needle: false needle: false
severity: severity:

View File

@ -10,8 +10,8 @@ You can purchase cloud-based access to your Home Assistant from [Nabu Casa](http
![Nabu Casa Setup](images/nabu_casa_setup.png) ![Nabu Casa Setup](images/nabu_casa_setup.png)
* Your API URL would be of the format `https://<id>.ui.nabu.casa/api` - Your API URL would be of the format `https://<id>.ui.nabu.casa/api`
* Your Garmin Watch Menu would be of the format Menu: `https://<id>.ui.nabu.casa/local/garmin/menu.json` - Your Garmin Watch Menu would be of the format Menu: `https://<id>.ui.nabu.casa/local/garmin/menu.json`
Where `<id>` is your personal Nabu Casa account ID. Where `<id>` is your personal Nabu Casa account ID.
@ -23,21 +23,21 @@ Before Nabu Casa, or if you wanted to manage your own infrastructure, you might
Now you have to manage: Now you have to manage:
* Dynamic DNS - Dynamic DNS
* Public access via router port forwarding - Public access via router port forwarding
* Security via HTTPS and URL forwarding - Security via HTTPS and URL forwarding
* Certificates for HTTPS via say [Let's Encrypt](https://letsencrypt.org/) (Nginx web server helps here) - Certificates for HTTPS via say [Let's Encrypt](https://letsencrypt.org/) (Nginx web server helps here)
* Proxy allow list in `configuration.yaml` as follows: - Proxy allow list in `configuration.yaml` as follows:
```yaml ```yaml
http: http:
use_x_forwarded_for: true use_x_forwarded_for: true
trusted_proxies: trusted_proxies:
- 127.0.0.1 - 127.0.0.1
- 192.168.xx.xx # Server IP - AMEND THIS - 192.168.xx.xx # Server IP - AMEND THIS
- 172.30.32.0/23 # Docker IPs for NGINX - 172.30.32.0/23 # Docker IPs for NGINX
- 172.30.33.0/24 # SSL proxy server - 172.30.33.0/24 # SSL proxy server
- 172.16.0.0/12 # - 172.16.0.0/12 #
``` ```
### Menu Configuration URL ### Menu Configuration URL
@ -57,7 +57,7 @@ The menu configuration can be hosted anywhere, it does not have to be on the Hom
This is slightly trickier owning to the need to supply the API key. Here are three ways you can test your API URL is correctly configured. If successful, each of these should produce a JSON string output looking like: This is slightly trickier owning to the need to supply the API key. Here are three ways you can test your API URL is correctly configured. If successful, each of these should produce a JSON string output looking like:
```json ```json
{"message":"API running."} { "message": "API running." }
``` ```
#### API: Linux, MacOS, UNIX, Cygwin etc #### API: Linux, MacOS, UNIX, Cygwin etc