marq24 / ha-evcc

Home Assistant integration for evcc☀️🚘- optimized charging of electric vehicles, connecting your EV charger with your PV system. The integration use local polling (interval configurable) of the evcc API. Please note, that this integration is not official and not supported by the evcc developers. This project is not affiliated with evcc in any way.
Apache License 2.0
67 stars 3 forks source link

Remove unnecessary `Content-Type` headers #15

Closed slauth closed 2 months ago

slauth commented 2 months ago

I just followed this guide to get values into evcc via HA instead of polling via Modbus (which is already done by HA as well). Works really great so far, thanks!

I noticed however that there are superfluous Content-Type headers defined in the examples. This type of header is meant for specifying the content type of a request body, which we do not have in this case. So I thought I'll quickly suggest this little change :slightly_smiling_face: