Skip to content

Commit

Permalink
Updates baed on review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
RBaragona committed Dec 30, 2024
1 parent 2dcb69c commit d77b6f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
6 changes: 0 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## [0.23.0] - 2024-11-15

### Added

- Support for Lumaris RGB + Tunable White Tape Light.

## [0.22.0] - 2024-10-04

### Added
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "pylutron-caseta"
version = "0.23.0"
version = "0.22.0"
description = "Provides an API to the Lutron Smartbridge"
readme = "README.md"
license = "Apache-2.0"
Expand Down
4 changes: 2 additions & 2 deletions src/pylutron_caseta/smartbridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ async def set_value(
return

# Handle Ketra lamps and Lumaris RGB + Tunable White Tape Light
if ((device.get("type") == "SpectrumTune") or (device.get("type") == "ColorTune")):
if device.get("type") in ["SpectrumTune", "ColorTune"]:
spectrum_params: Dict[str, Union[str, int]] = {}
if value is not None:
spectrum_params["Level"] = value
Expand All @@ -428,7 +428,7 @@ async def set_value(
},
)
return

# Handle Lumaris Tape Light
if device.get("type") == "WhiteTune":
white_params: Dict[str, Union[str, int]] = {}
Expand Down

0 comments on commit d77b6f7

Please sign in to comment.