Releases: scottbonline/sense
Releases · scottbonline/sense
0.13.7 - Fix from_grid being None
0.13.6 Error handling
What's Changed
- Avoid None/float error when reading from_grid by @CloCkWeRX in #75
New Contributors
- @CloCkWeRX made their first contribution in #75
Full Changelog: 0.13.5...0.13.6
0.13.5 Trend Update Checks
What's Changed
- Scope debug messages so they show when debugging enabled for sense_link by @dahlb in #71
- Add missing requirements based on setup.py by @dahlb in #72
- Prevent trends from updating with out-of-date data
New Contributors
Full Changelog: 0.13.4...0.13.5
0.13.4 Fix MFA device listing
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.