2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
7 * This program and the accompanying materials are made available under the
8 * terms of the Eclipse Public License 2.0 which is available at
9 * http://www.eclipse.org/legal/epl-2.0
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.milight.internal;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
18 * Contains a led bulb state including the HSB value, white color temperature and animation values.
20 * @author David Graeff - Initial contribution
23 public class MilightThingState {
24 public int animationMode;
25 public int colorTemperature; // only for led bulbs which include white leds applicable
26 public int brightness;
27 public int hue360; // only for rgb(w) leds applicable (v3+)
28 public int saturation; // only for rgbww leds applicable (v6+)
30 public MilightThingState() {
36 colorTemperature = 100; // only for led bulbs which include white leds applicable
38 hue360 = 180; // only for rgb(w) leds applicable (v3+)
39 saturation = 100; // only for rgbww leds applicable (v6+)