Skip to content

Releases: nasa9084/go-switchbot

v3.2.0

20 Oct 11:59
755254e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.1.0...v3.2.0

v3.1.0

27 Mar 11:57
6849913
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.0.3...v3.1.0

v3.0.3

12 Jan 17:00
d7ea3bb
Compare
Choose a tag to compare

Changes

  • Having a good error message for hitting rate limit (#21)

v3.0.2

01 Dec 09:43
55a7c5e
Compare
Choose a tag to compare

Changes

  • Fix device type definition for Smart Lock (#19)

v3.0.1

18 Jul 09:33
7a83832
Compare
Choose a tag to compare

Changes

v3.0.0

30 Mar 13:38
Compare
Choose a tag to compare

Changes

  • fix: Status() error decoding JSON data: json: cannot unmarshal string into Go struct field DeviceStatus.body.version of type int (#13)
    • version field for the Tilt device is an int but it's a string for other devices. It will be unmarshaled into the DeviceVersion type
  • Chore: Update go version

v2.1.0

08 Mar 15:30
Compare
Choose a tag to compare

Changes

v2.0.1

03 Feb 04:29
b804de3
Compare
Choose a tag to compare

Changes

  • Fix module import path

v2.0.0

02 Feb 09:34
d6a4598
Compare
Choose a tag to compare

Changes

  • Chore: Update go version (#8)
  • Bug Fix: Fix data type for DeviceStatus.Voltage and DeviceStatus.Weight

Breaking changes

  • Data type for DeviceStatus.Voltage and DeviceStatus.Weight are changed to float64 from int

Full Changelog: v1.0.0...v2.0.0

v1.0.0

11 Nov 16:33
Compare
Choose a tag to compare

Now Switchbot API v1.1 is supported!

New feature

  • New Auth
  • Webhook for Cleaner robots
  • All supported commands for infrared devices
  • Supported new devices
    • Keypad, Keypad Touch
    • Ceiling Light, Ceiling Light Pro
    • Indoor Cam
    • Pan/Tilt Cam, Pan/Tilt Cam 2K

Breaking changes

  • Arguments for New() function is changed
  • All command functions are now suffixed with Command

Full Changelog: v0.3.0...v1.0.0