-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added optional setting http_proxy to push_image #144
Conversation
This will allow the user to set up an external reverse proxy to have the HA instance operate on HTTPS and push_image use that reverse proxy to avoid using HTTPS traffic processing on the plate.
as a result, automatic updating by the component throws an error and does not work.
Co-authored-by: Diogo Gomes <diogogomes@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still don't see the point as discussed in #117 but technically is OK
If you are really that heartfelt about the naming, feel free to modify it as you see fit. Functionality is what matters, naming is trivial imho. |
So,can this be merged or not? |
From my point of view, yes. Technically it can be according to @dgomes. |
I'm not sure I understand the issue myself. I'm preparing for the HA 2024.9.0 release, so it would be a good time to merge. |
just rename it to what it is: |
Okay, so I think I understand it better now. While the functionality is there, the naming of this line is not ideal: As the link is not a real proxy server, but it is just being hosted on a different link... Can I offer my 2cents: what about In any case the feature need to be documented with an example. |
In my case though, the original image is hosted by HA on https, I actually have a reverse proxy in use to allow http access to the image url...
But again, I don't care anymore. I just need this feature, regardless of naming.
--
Met vriendelijke groeten/Regards,
Barry Schut
a.k.a. [NUT]
Op 30 aug. 2024 17:16, om 17:16, fvanroie ***@***.***> schreef:
…Okay, so I think I understand it better now. While the functionality is
there, the naming of this line is not ideal:
[ATTR_PROXY =
"http_proxy"](https://github.com/xNUTx/openHASP-custom-component/blob/9f3cd3082f2f573b8cb158a3c983149ae1826b5f/custom_components/openhasp/const.py#L95)
As the link is not a *real* proxy server, but it is just being hosted
on a different link...
Can I offer my 2cents: what about `server_url` or `base_url`? That
seems to be a more universal
[naming](https://swagger.io/docs/specification/api-host-and-base-path/)
of what the feature does.
--
Reply to this email directly or view it on GitHub:
#144 (comment)
You are receiving this because you authored the thread.
Message ID:
***@***.***>
|
It seems we are running in circles here... |
Original discussion here: #117
I had it in 'main' instead of a separate branch, so it got a little confusing making patches for other things...
Functional it has no changes compared to the original PR.
HA Automation Action example: