2 * Copyright (c) 2010-2022 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.lutron.internal.protocol.lip;
17 import org.eclipse.jdt.annotation.NonNullByDefault;
20 * The {@link Monitoring} class defines constants for LIP Monitoring types
22 * @author Bob Adair - Initial contribution
25 public class Monitoring {
27 public static final Integer ACTION_ENABLE = 1;
28 public static final Integer ACTION_DISABLE = 2;
31 public static final Integer DIAG = 1;
32 public static final Integer EVENT = 2;
33 public static final Integer BUTTON = 3;
34 public static final Integer LED = 4;
35 public static final Integer ZONE = 5;
36 public static final Integer OCCUPANCY = 6;
37 public static final Integer PHOTOSENSOR = 7;
38 public static final Integer SCENE = 8;
39 public static final Integer TIMECLOCK = 9;
40 public static final Integer SYSVAR = 10;
41 public static final Integer REPLY = 11;
42 public static final Integer PROMPT = 12;
43 public static final Integer DEVICE = 14;
44 public static final Integer ADDRESS = 15;
45 public static final Integer SEQUENCE = 16;
46 public static final Integer HVAC = 17;
47 public static final Integer MODE = 18;
48 public static final Integer PRESET = 19;
49 public static final Integer L1RUNTIME = 20;
50 public static final Integer L2RUNTIME = 21;
51 public static final Integer DIAGERROR = 22;
52 public static final Integer SHADEGRP = 23;
53 public static final Integer PARTITION = 24;
54 public static final Integer SYSTEM = 25;
55 public static final Integer SENSORGROUP = 26;
56 public static final Integer TEMPSENSOR = 27;
57 public static final Integer ALL = 255;
59 /** Set of monitoring types which must be enabled */
60 public static final Set<Integer> REQUIRED_SET = Set.of(BUTTON, LED, ZONE, OCCUPANCY, SCENE, TIMECLOCK, REPLY, HVAC,