grahamwetzler / smart-meter-texas

Package to connect to and retrieve data from the unoffical Smart Meter Texas API
MIT License
13 stars 13 forks source link

Improve user-agent handling #6

Closed grahamwetzler closed 3 years ago

grahamwetzler commented 4 years ago

SMT will timeout if not provided with a valid user-agent. The static user-agent should be improved.

https://github.com/grahamwetzler/smart-meter-texas/blob/0d258bdc518d7e38cd01688afb767849412679b8/smart_meter_texas/async_api.py#L26-L27