We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 081d263 commit 190d0daCopy full SHA for 190d0da
custom_components/precoscombustiveis/dgeg.py
@@ -91,7 +91,8 @@ async def list_stations(self, distrito_id: str) -> list[Dict]:
91
API_STATIONS_LIST.format(distrito_id),
92
headers={
93
"Content-Type": "application/json"
94
- }
+ },
95
+ ssl=False # Disable SSL verification
96
) as res:
97
if res.status == 200:
98
json = await res.json()
@@ -119,7 +120,8 @@ async def getStation(self, id: str) -> Station:
119
120
API_URI_TEMPLATE.format(id),
121
122
123
124
125
126
if res.status == 200 and res.content_type == "application/json":
127
0 commit comments