]> git.basschouten.com Git - openhab-addons.git/blob
12c97eb65ced66f4bc32ea3fbf6cecfa275c2e7e
[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.binding.yeelight.internal.lib.enums;
14
15 /**
16  * @author Coaster Li - Initial contribution
17  */
18 public enum MethodAction {
19
20     PROP("get_prop"),
21     SWITCH("set_power"),
22     TOGGLE("toggle"),
23     BRIGHTNESS("set_bright"),
24     COLORTEMPERATURE("set_ct_abx"),
25     HSV("set_hsv"),
26     RGB("set_rgb"),
27     DEFAULT("set_default"),
28     STARTCF("start_cf"),
29     STOPCF("setop_cf"),
30     SCENE("set_scene"),
31     CRON_ADD("cron_add"),
32     CRON_GET("cron_get"),
33     CRON_DEL("cron_del"),
34     ADJUST("set_adjust"),
35     MUSIC("set_music"),
36     NAME("set_name"),
37     BG_HSV("bg_set_hsv"),
38     BG_RGB("bg_set_rgb"),
39     BG_BRIGHTNESS("bg_set_bright"),
40     BG_SWITCH("bg_set_power");
41
42     public String action;
43
44     MethodAction(String action) {
45         this.action = action;
46     }
47 }