]> git.basschouten.com Git - openhab-addons.git/blob
133ec1b5baf94301b90bf22e1e418404c6ed4295
[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.neato.internal;
14
15 import org.openhab.core.thing.ThingTypeUID;
16
17 /**
18  * The {@link NeatoBinding} class defines common constants, which are
19  * used across the whole binding.
20  *
21  * @author Patrik Wimnell - Initial contribution
22  */
23 public class NeatoBindingConstants {
24
25     public static final String BINDING_ID = "neato";
26
27     // List of all Thing Type UIDs
28     public static final ThingTypeUID BRIDGE_TYPE_NEATOACCOUNT = new ThingTypeUID(BINDING_ID, "neatoaccount");
29     public static final ThingTypeUID THING_TYPE_VACUUMCLEANER = new ThingTypeUID(BINDING_ID, "vacuumcleaner");
30
31     // List of all Channel ids
32     public static final String CHANNEL_BATTERY = "battery-level";
33     public static final String CHANNEL_STATE = "state";
34     public static final String CHANNEL_ERROR = "error";
35     public static final String CHANNEL_ACTION = "action";
36     public static final String CHANNEL_DOCKHASBEENSEEN = "dock-has-been-seen";
37     public static final String CHANNEL_ISDOCKED = "is-docked";
38     public static final String CHANNEL_ISSCHEDULED = "is-scheduled";
39     public static final String CHANNEL_ISCHARGING = "is-charging";
40     public static final String COMMAND = "command";
41     public static final String CHANNEL_NAME = "name";
42     public static final String CHANNEL_CLEANINGCATEGORY = "cleaning-category";
43     public static final String CHANNEL_CLEANINGMODE = "cleaning-mode";
44     public static final String CHANNEL_CLEANINGMODIFIER = "cleaning-modifier";
45     public static final String CHANNEL_CLEANINGSPOTWIDTH = "cleaning-spotwidth";
46     public static final String CHANNEL_CLEANINGSPOTHEIGHT = "cleaning-spotheight";
47
48     public static final String CONFIG_SECRET = "secret";
49     public static final String CONFIG_SERIAL = "serial";
50     public static final String CONFIG_REFRESHTIME = "refresh";
51
52     public static final String PROPERTY_NAME = "robot-name";
53 }