Enhancement: support ESPHome widget authentication (#3846)

* Added cookie support for auth on ESPHome widget

* Lint

* Use credentialedProxyHandler instead

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
Juan Ignacio Sierraandshamoon authored and GitHub committed 2024-08-13 07:40:42 -07:00
1 parent 9ede44b12d
commit 2ee14eb94b
3 files changed
+7 -2

No files matched your search

+1
View File
@@ -16,4 +16,5 @@ To group both `offline` and `unknown` devices together, users should use the `of
widget:
type: esphome
url: http://esphome.host.or.ip:port
key: myesphomecookie # only if auth enabled, get the value from a request from the frontend e.g. `authenticated=myesphomecookie`
```