Releases: scottbonline/sense
Releases · scottbonline/sense
0.13.4 Fix MFA device listing
Fix Trends missing 'usage' key
Previously consumption was available under the key "usage", that is now available again
0.13.2 Fix Typing
Full Changelog: 0.13.1...0.13.2
Remove duplicate plugs
- Changed
SenseDevice
trends to usedevice.energy_kwh[Scale]
- Combined or removed duplicate devices created by smart plugs with same names
0.13.0 Device Abstraction With More Stats
What's Changed
sense.devices
now returns a list ofSenseDevice
s containing attributesname
,icon
,is_on
,power_w
, and trend statsdaily_kwh
,weekly_kwh
,monthly_kwh
,yearly_kwh
Scale
enum added with valuesDAY
,WEEK
,MONTH
,YEAR
, andCYCLE
. These replace the previous string values that can would passed to theget_trend
function (or anything that took a scale).- Added
sense.get_stat(self, scale: Scale, key: str) -> float
function similar toget_trend
- Updated Python minimum version to Python 3.9
- Added async function
sense.fetch_devices() -> None
to fetch discovered device data - Added typing info to most functions
Add License Classifier to Release Package
0.12.3 Handle Unicode Errors
Handles errors in unicode decoding on messages received in the senselink component.
0.12.2 Optimizations
0.12.1 SSL Context Cached
0.12.0 Updated Kasa crypt and Removal of Python 2 Support
What's Changed
- Switch to using kasa-crypt for tplink encryption by @bdraco in #59
- Remove Support for Python2 by @kbickar in #60
As mentioned, Python 2 support has been dropped from this release onward.
Full Changelog: 0.11.2...0.12.0