Skip to content

Commit

Permalink
Release 0.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanvictora committed Nov 2, 2024
1 parent ac1f921 commit 4864772
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog


## [0.12.1] - 2024-11-02

### Fixed
- **Scene Sync**: Fixed an issue where scene synchronization failed to handle interpolations across days, causing lights to sync as off (#16).

### Added
- **Enhanced CT Support**: Enabled support for setting 1000 Kelvin as color temperature (CT) for color lights. Removed the InvalidColorTemperatureValue error; now, if the specified CT is outside the supported range, it automatically adjusts to the nearest valid value (#15).

## [0.12.0] - 2024-10-13

### Added
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Each configuration line has three parts:

- **Basic**:
- **`bri`** (brightness): e.g., `bri:100%`
- **`ct`** (color temperature) [``6500``-``2000``|``153``-``500``]: e.g., `ct:6500`, `ct:153`
- **`ct`** (color temperature) [``6500``-``1000``|``153``-``500``]: e.g., `ct:6500`, `ct:153`
- **`on`** (on/off state): e.g., `on:true`
- **`days`** (specific days of the week): e.g., `days:Mo-Fr`, `days:Tu,We`
- **Color**:
Expand Down
2 changes: 1 addition & 1 deletion docs/light_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Specify properties to control the state of your lights during the given interval

- ``bri``: Modifies the **brightness** of the light: [``1``-``254``] or [``1%``-``100%``]. From dim to bright.

- ``ct``: Modifies the **color temperature** of the light, either in [Kelvin](https://en.wikipedia.org/wiki/Color_temperature) [``6500``-``2000``] or [Mired](https://en.wikipedia.org/wiki/Mired) [``153``-``500``], from cool to warm white. The supported range may vary for older light bulb models. Hue Scheduler checks at startup if the given color temperature is supported by the light, throwing an error if not.
- ``ct``: Modifies the **color temperature** of the light, either in [Kelvin](https://en.wikipedia.org/wiki/Color_temperature) [``6500``-``1000``] or [Mired](https://en.wikipedia.org/wiki/Mired) [``153``-``500``], from cool to warm white. The supported range may vary for older light bulb models. Hue Scheduler checks at startup if the given color temperature is supported by the light, automatically adjusting it to the nearest valid value if not. Note: Color lights are the only ones supporting a Kelvin value lower than 2000.

- ``on``: Modifies the **on state** of the light: [``true``|``false``]. Hue Scheduler does not modify a light's on state unless explicitly specified. If a light is off or unreachable, Hue Scheduler waits until the light is turned on or reachable again.

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>at.sv.hue</groupId>
<artifactId>hue-scheduler</artifactId>
<version>0.13.0-SNAPSHOT</version>
<version>0.12.1</version>

<scm>
<connection>scm:git:[email protected]:stefanvictora/hue-scheduler.git</connection>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/at/sv/hue/HueScheduler.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
import java.util.concurrent.TimeUnit;
import java.util.function.Supplier;

@Command(name = "HueScheduler", version = "0.13.0", mixinStandardHelpOptions = true, sortOptions = false)
@Command(name = "HueScheduler", version = "0.12.1", mixinStandardHelpOptions = true, sortOptions = false)
public final class HueScheduler implements Runnable {

private static final Logger LOG = LoggerFactory.getLogger(HueScheduler.class);
Expand Down

0 comments on commit 4864772

Please sign in to comment.