Embed env_vars guidance in docs

This commit is contained in:
Alexandre
2025-11-06 16:50:01 +01:00
parent e4a59af7a6
commit a928c8e9e2
293 changed files with 601 additions and 153 deletions

View File

@@ -1,3 +1,4 @@
- Added support for configuring extra environment variables via the `env_vars` add-on option alongside config.yaml. See https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon-2 for details.
## 0.8.2 (08-03-2025)
- Update to latest version from gabe565/CastSponsorSkip (changelog : https://github.com/gabe565/CastSponsorSkip/releases)

View File

@@ -65,7 +65,7 @@ CSS_DEVICES: "192.168.1.100,192.168.1.101"
This addon supports custom script execution and environment variable injection:
- **Custom scripts**: See [Running Custom Scripts in Addons](https://github.com/alexbelgium/hassio-addons/wiki/Running-custom-scripts-in-Addons)
- **Environment variables**: See [Add Environment Variables to your Addon](https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon)
- **env_vars option**: Use the add-on `env_vars` option to pass extra environment variables (uppercase or lowercase names). See https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon-2 for details.
### Additional Resources
@@ -89,3 +89,5 @@ Addon : here
App : [CastSponsorSkip](https://github.com/gabe565/CastSponsorSkip)
[repository]: https://github.com/alexbelgium/hassio-addons

View File

@@ -16,7 +16,7 @@ options:
CSS_CATEGORIES: sponsor, intro, outro, selfpromo
schema:
env_vars:
- name: match(^[A-Z0-9_]+$)
- name: match(^[A-Za-z0-9_]+$)
value: str?
CSS_CATEGORIES: str
CSS_DISCOVER_INTERVAL: str?