]> git.basschouten.com Git - openhab-addons.git/blob
0c656091b9372aac459af3e81e12043b2fda1672
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2022 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.solarwatt.internal.domain.model;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.binding.solarwatt.internal.domain.dto.DeviceDTO;
17
18 /**
19  * Deprecated class.
20  *
21  * Was superseded by {@link ScheduleApp}.
22  *
23  * This fields have been identified to exist:
24  * com.kiwigrid.devices.simpleswitcher.SimpleSwitcher=[
25  * MigratedToScheduleApp,
26  * ScheduleSwitchStates
27  * ]
28  *
29  * @author Sven Carstens - Initial contribution
30  */
31 @NonNullByDefault
32 public class SimpleSwitcher extends Device {
33     public static final String SOLAR_WATT_CLASSNAME = "com.kiwigrid.devices.simpleswitcher.SimpleSwitcher";
34
35     public SimpleSwitcher(DeviceDTO deviceDTO) {
36         super(deviceDTO);
37     }
38
39     @Override
40     protected String getSolarWattLabel() {
41         return "SimpleSwitcher";
42     }
43 }