lifx_http_api 0.0.13 lifx_http_api: ^0.0.13 copied to clipboard
A dart implementation of the LIFX HTTP API for smart LED bulbs.
Changelog #
All notable changes to this project will be documented in this file. The format is based on Keep a Changelog.
The project does not yet adhere to Semantic Versioning. That is aimed for after initial release.
[Unreleased] #
[0.0.13] - 2021-11-05 #
Changed #
- Updated
json_annotation
to 4.3.0 - Updated
json_serializable
to 6.0.1
[0.0.12] - 2021-10-31 #
[0.0.11] - 2021-08-25 #
[0.0.9] - 2021-08-25 #
Added #
- Added
LifxPower
enum. - Added
LifxUnauthorizedError
and throw it on any unauthorized HTTP errors. - Added
LifxHttpException
and throw it on any unhandled HTTP responses or errors.
Changed #
- Changed
Group
to beLifxGroup
. Client.listLights
now accepts a selector, with the default set toall
.- Refactored
Client.listLights
andClient.setState
to better handle errors and provide http responses on exception.
[0.0.6] - 2021-07-24 #
Changed #
- Change
Bulb.color
to non-final. - Change
Bulb.brightness
to non-final.
[0.0.5] - 2021-07-24 #
[0.0.3] - 2021-05-28 #
Added #
- A new REPL CLI at
bin/cli.dart
for using local manual testing/use.
Changed #
Client.setState
now required the Bulbid
instead ofuuid
Client.setState
now returns the LIFX API response.- Added linting and fixed lots of small lint and type errors.
Fixed #
- Passing any of the optional parameters to
Client.setState
will now actually add them to the request body.