]> git.basschouten.com Git - openhab-addons.git/blob
9e5b5d32cf0fd2dd3d1422afd60257ea4959a236
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2021 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.mqtt.homeassistant.internal;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * A MQTT climate component, following the https://www.home-assistant.io/components/climate.mqtt/ specification.
19  *
20  * At the moment this only notifies the user that this feature is not yet supported.
21  *
22  * @author David Graeff - Initial contribution
23  */
24 @NonNullByDefault
25 public class ComponentClimate extends AbstractComponent<ComponentClimate.ChannelConfiguration> {
26
27     /**
28      * Configuration class for MQTT component
29      */
30     static class ChannelConfiguration extends BaseChannelConfiguration {
31         ChannelConfiguration() {
32             super("MQTT HVAC");
33         }
34     }
35
36     public ComponentClimate(CFactory.ComponentConfiguration componentConfiguration) {
37         super(componentConfiguration, ChannelConfiguration.class);
38         throw new UnsupportedOperationException("Component:Climate not supported yet");
39     }
40 }