File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed
Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 11""" Python Code for Communication with the Ecobee Thermostat """
2- import json
32from typing import Optional
43
54import requests
65from requests .exceptions import HTTPError , RequestException
76
7+ try :
8+ import simplejson as json
9+ except ImportError :
10+ import json
11+
812from .const import (
913 _LOGGER ,
1014 ECOBEE_ACCESS_TOKEN ,
Original file line number Diff line number Diff line change 11"""Utility functions for the python-ecobee-api library."""
2- import json
32import os
43from typing import Optional
54
5+ try :
6+ import simplejson as json
7+ except ImportError :
8+ import json
9+
610from .const import _LOGGER
711
812
Original file line number Diff line number Diff line change 3333"""
3434
3535setup (name = 'python-ecobee-api' ,
36- version = '0.2.2 ' ,
36+ version = '0.2.3 ' ,
3737 description = 'Python API for talking to Ecobee thermostats' ,
3838 url = 'https://github.com/nkgilley/python-ecobee-api' ,
3939 author = 'Nolan Gilley' ,
You can’t perform that action at this time.
0 commit comments