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.neato.internal;
15 import org.openhab.core.thing.ThingTypeUID;
18 * The {@link NeatoBindingConstants} class defines common constants, which are
19 * used across the whole binding.
21 * @author Patrik Wimnell - Initial contribution
23 public class NeatoBindingConstants {
25 public static final String BINDING_ID = "neato";
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");
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";
48 public static final String CONFIG_SECRET = "secret";
49 public static final String CONFIG_SERIAL = "serial";
50 public static final String CONFIG_REFRESHTIME = "refresh";
52 public static final String PROPERTY_NAME = "robot-name";