Fix haveibeenpwned user-agent string (#84919)

* Fixed user-agent string not being accepted as an valid header

* Update homeassistant/components/haveibeenpwned/sensor.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Removed the aiohttp import

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
ChopperRob 2023-01-01 02:49:13 +01:00 committed by GitHub
parent a168df342d
commit 208b281505
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

Diff Content Not Available