]> git.basschouten.com Git - openhab-addons.git/blob
be4f3352f9fd5a25dc163b62565199187e6ad68d
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
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
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.io.hueemulation.internal.dto;
14
15 import java.util.Map;
16 import java.util.TreeMap;
17
18 import org.eclipse.jdt.annotation.NonNullByDefault;
19
20 /**
21  * Hue API scene object with light states
22  *
23  * @author David Graeff - Initial contribution
24  */
25 @NonNullByDefault
26 public class HueSceneWithLightstates extends HueSceneEntry {
27
28     public Map<String, AbstractHueState> lightstates = new TreeMap<>();
29
30     HueSceneWithLightstates() {
31         super();
32     }
33
34     public HueSceneWithLightstates(HueSceneEntry e) {
35         this.type = e.type;
36         this.name = e.name;
37         this.description = e.description;
38         this.owner = e.owner;
39         this.recycle = e.recycle;
40         this.locked = e.locked;
41         this.appdata = e.appdata;
42         this.picture = e.picture;
43         this.lights = e.lights;
44         this.group = e.group;
45     }
46 }