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.yamahareceiver.internal.protocol;
15 import java.io.IOException;
18 * The system control protocol interface. This is basically just power.
20 * @author David Graeff - Initial contribution
22 public interface SystemControl extends IStateUpdatable {
24 * Switches the AVR on/off (off equals network standby here).
26 * @param power The new power state
29 * @throws ReceivedMessageParseException
31 void setPower(boolean power) throws IOException, ReceivedMessageParseException;
38 * @throws ReceivedMessageParseException
40 void setPartyMode(boolean on) throws IOException, ReceivedMessageParseException;
43 * Enables mute for party mode.
47 * @throws ReceivedMessageParseException
49 void setPartyModeMute(boolean on) throws IOException, ReceivedMessageParseException;
52 * Increment or decrement the volume for party mode.
56 * @throws ReceivedMessageParseException
58 void setPartyModeVolume(boolean increment) throws IOException, ReceivedMessageParseException;