]> git.basschouten.com Git - openhab-addons.git/blob
c110d423b42ee905451790fbf7607e8810ef444d
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
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
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.max.internal.device;
14
15 /**
16  * Unsupported devices.
17  *
18  * @author Andreas Heil - Initial contribution
19  * @author Marcel Verpaalen - OH2 update
20  */
21
22 public class UnsupportedDevice extends Device {
23
24     public UnsupportedDevice(DeviceConfiguration c) {
25         super(c);
26     }
27
28     @Override
29     public DeviceType getType() {
30         return DeviceType.Invalid;
31     }
32
33     @Override
34     public String getName() {
35         return "Unsupported device";
36     }
37 }