/**
* Copyright (c) 2010-2016 by the respective copyright holders.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org.openhab.binding.tellstick.internal.device.iface;
import org.openhab.binding.tellstick.internal.device.TellstickException;
/**
* A generic device.
*
* @author peec
* @author jarlebh
* @since 1.5.0
*
*/
public interface DeviceIntf {
/**
* Turns on the device.
*/
public void on() throws TellstickException;
/**
* Turns off the device.
*/
public void off() throws TellstickException;
/**
* Returns the name of the device.
*/
public String getType();
}