Skip to content

Releases: scottbonline/sense

0.13.7 - Fix from_grid being None

07 Mar 18:36
Compare
Choose a tag to compare

Fixes an exception when from grid data not available

0.13.6 Error handling

02 Mar 17:53
f545d68
Compare
Choose a tag to compare

What's Changed

  • Avoid None/float error when reading from_grid by @CloCkWeRX in #75

New Contributors

Full Changelog: 0.13.5...0.13.6

0.13.5 Trend Update Checks

25 Jan 19:22
Compare
Choose a tag to compare

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

  • @dahlb made their first contribution in #71

Full Changelog: 0.13.4...0.13.5

0.13.4 Fix MFA device listing

14 Nov 14:48
Compare
Choose a tag to compare

Fix MFA device listing

Fix Trends missing 'usage' key

07 Nov 01:19
Compare
Choose a tag to compare

Previously consumption was available under the key "usage", that is now available again

0.13.2 Fix Typing

13 Oct 21:52
Compare
Choose a tag to compare

Remove duplicate plugs

13 Oct 21:11
Compare
Choose a tag to compare
  • Changed SenseDevice trends to use device.energy_kwh[Scale]
  • Combined or removed duplicate devices created by smart plugs with same names

0.13.0 Device Abstraction With More Stats

11 Oct 21:33
3c3107e
Compare
Choose a tag to compare

What's Changed

  • sense.devices now returns a list of SenseDevices containing attributes name, icon, is_on, power_w, and trend stats daily_kwh, weekly_kwh, monthly_kwh, yearly_kwh
  • Scale enum added with values DAY, WEEK, MONTH, YEAR, and CYCLE. These replace the previous string values that can would passed to the get_trend function (or anything that took a scale).
  • Added sense.get_stat(self, scale: Scale, key: str) -> float function similar to get_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

25 Jun 13:59
e5379b0
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.12.3...0.12.4

0.12.3 Handle Unicode Errors

01 Feb 21:27
Compare
Choose a tag to compare

Handles errors in unicode decoding on messages received in the senselink component.