2 * Copyright (c) 2010-2021 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.radiora.protocol;
16 * Feedback for when a device was changed locally (not through Master Control)
22 * LZC,<Zone Number>,<State>
28 * Dimmer 1 changed from 100% to 50%
34 * Dimmer 4 changed from OFF to 25%
40 * @author Jeff Lauterbach - Initial Contribution
43 public class LocalZoneChangeFeedback extends RadioRAFeedback {
45 private int zoneNumber; // 1 to 32
46 private State state; // ON, OFF, CHG
54 public LocalZoneChangeFeedback(String msg) {
55 String[] params = parse(msg, 2);
57 zoneNumber = Integer.parseInt(params[1].trim());
58 state = State.valueOf(params[2].trim().toUpperCase());
61 public State getState() {
65 public int getZoneNumber() {