Skip to content

Commit

Permalink
Version 0.11 - Silence InsecureRequestWarning and add more imports to…
Browse files Browse the repository at this point in the history
… the test file
  • Loading branch information
bm1549 committed Jul 11, 2021
1 parent cbbc7a2 commit 10f7ded
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions frigidaire/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@
import json
import logging
import requests
import urllib3
import uuid
import time

# Frigidaire uses a self-signed certificate, which forces us to disable SSL verification
# To keep our logs free of spam, we disable warnings on insecure requests
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)

API_URL = 'https://api.latam.ecp.electrolux.com'

CLIENT_ID = 'e9c4ac73-e94e-4b37-b1fe-b956f568daa0'
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setuptools.setup(
name='frigidaire',
version='0.10',
version='0.11',
author="Brian Marks",
description="Python API for the Frigidaire 2.0 App",
license="MIT",
Expand Down
2 changes: 1 addition & 1 deletion test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import logging

from frigidaire import Action, Power, Mode, FanSpeed, Frigidaire
from frigidaire import Action, Power, Mode, FanSpeed, Frigidaire, HaclCode, Component

if __name__ == '__main__':
logging.basicConfig(level=logging.DEBUG)
Expand Down

0 comments on commit 10f7ded

Please sign in to comment.