Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion content/components/captive_portal.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ wifi:
captive_portal:
```

No configuration variables.
## Configuration variables

- **compression** (*Optional*, string): The compression algorithm used for the embedded web assets.
Options are `br` (Brotli) or `gzip`. Brotli provides ~24% smaller size than gzip.
Defaults to `br`.

## See Also

Expand Down
4 changes: 4 additions & 0 deletions content/components/web_server.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ web_server:
- **local** (*Optional*, boolean): Include supporting javascript locally allowing it to work without internet access.
Defaults to `false`.

- **compression** (*Optional*, string): The compression algorithm used for embedded web assets when `local` is enabled.
Options are `br` (Brotli) or `gzip`. Brotli provides ~10-12% smaller size than gzip for web server assets.
Defaults to `br`.

- **version** (*Optional*, string): `1`, `2` or `3`. Version 1 displays as a table. Version 2 uses web components
and has more functionality. Version 3 uses HA-Styling. Defaults to `2`.

Expand Down