Closed jmason closed 3 years ago
@filcole please apply this
I think to avoid this in the future, the Session
class should take a user agent header as an optional constructor argument, which will overrides the User-Agent on a request if it's not null. Then the library doesn't need updating if this happens again, it's jut a quick fix in HASS
Yay!
This reverts 4005247aa51127f8b999ebdbeb15c48bceb8390e , and fixes https://github.com/filcole/pycarwings2/issues/28 .