kube local storage migration

This commit is contained in:
2024-07-11 00:56:51 -04:00
parent 887df21477
commit f2f51a923a
90 changed files with 614 additions and 1087 deletions

View File

@@ -2,34 +2,12 @@
- [Home Assistant](#home-assistant)
- [Setup and Configuration](#setup-and-configuration)
- [Cert](#cert)
- [Door Lock](#door-lock)
- [Philips Hue Lights](#philips-hue-lights)
- [Shelly](#shelly)
- [Trackers](#trackers)
- [Looping Over Entities with Labels](#looping-over-entities-with-labels)
- [Get All Entity Attributes](#get-all-entity-attributes)
## Setup and Configuration
### Cert
```bash
openssl req -sha256 -addext "subjectAltName = DNS:homeassistant.reeselink.com" -newkey rsa:4096 -nodes -keyout secrets/ha-privkey.pem -x509 -days 3650 -out secrets/ha-fullchain.pem
scp secrets/ha-* root@homeassistant.reeselink.com:~/ssl/
```
configuration.yaml
```yaml
http:
ssl_certificate: "/ssl/ha-fullchain.pem"
ssl_key: "/ssl/ha-privkey.pem"
use_x_forwarded_for: true
trusted_proxies:
- 10.1.0.0/16
```
### Door Lock
1. Install Z-wave
@@ -59,25 +37,3 @@ the range of your home assistant's bluetooth capabilities. Active scanning uses
is quicker to pick up and transmit device information. Note that "gateway mode" is not required,
just enable bluetooth and rpc or select "active" from the configuration menu for the shelly
device.
### Trackers
See `hass_trackers/`
### Looping Over Entities with Labels
<https://www.home-assistant.io/docs/configuration/templating/#labels>
```yaml
{% for item in label_entities("Battery Level") -%}
- {{ item }}
{% endfor %}
```
### Get All Entity Attributes
```yaml
{% for item in label_entities("Battery Level") -%}
- {{ states[item].attributes }}
{% endfor %}
```