- Add new devices
- Robot Vacuum Cleaner S1, Robot Vacuum Cleaner S1 Plus
- Add information about upgrading to API v1.1
- The switchbot API has been updated from v1.0 to v1.1
- v1.0-compliant implementations will be finalized in this version, and v1.1-compliant development will proceed in switchbot-client-1.x.x
- Add webhook support(#77, #78)
- You can create, get, set, and delete webhook configurations via SwitchBotClient or SwitchBotAPIClient
- Add pseudo status for AirConditioner(#59)
- Fix Humidifier behavior when lackWater column is missing(#58)
- Add new devices
- Plug Mini, Strip Light, Meter Plus, Lock
- Add pseudo status for remote devices
- Now you can call status() on remote devices
- It returns the value specified in the last change operation, which may or may not match the true state of the device
- Bug fix
- Fix import issue when using physical device objects
- API Interface Change
- Use SwitchBotClient instead of SwitchBotAPIClient in all public method arguments
- Add control and status methods for each device classes
- API Interface Change
- Use object interface as the main one
- It is recommended to use SwitchBotClient instead of SwitchBotAPIClient
- Add new devices(Motion Sensor, Contact Sensor, Color Bulb, Remote)
- Use
switchbot-client/{version}
as the user agent when requesting the SwitchBot API - Remove Python 3.6.x support and add Python 3.10.x support
- Support ~/.config/switchbot-client config file
- Add object interface for all devices
- Rename devices_control to devices_commands
- Add object interface
- Add basic implementation