Skip to content

Releases: scottbonline/sense

0.13.4 Fix MFA device listing

14 Nov 14:48
Compare
Choose a tag to compare

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.

0.12.2 Optimizations

15 Sep 16:50
243a104
Compare
Choose a tag to compare

What's Changed

  • Use ciso8601 for parsing date times by @bdraco in #65
  • Cleanup sense_link code and fix W1201 warning by @bdraco in #64
  • Refactor PlugInstance to cache mac/device_id generation by @bdraco in #63

Full Changelog: 0.12.1...0.12.2

0.12.1 SSL Context Cached

06 Sep 18:46
dc2a369
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.12.0...0.12.1

0.12.0 Updated Kasa crypt and Removal of Python 2 Support

23 Jun 22:38
8944299
Compare
Choose a tag to compare

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