]> git.basschouten.com Git - openhab-addons.git/blob
fc4d9c4f2a92a5229ee0aa9e3c1bd1d5ba4da8e7
[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.homematic.internal.type;
14
15 import org.openhab.binding.homematic.internal.model.HmDevice;
16
17 /**
18  *
19  * @author Gerhard Riegler - Initial contribution
20  */
21 public interface HomematicTypeGenerator {
22
23     /**
24      * Initializes the type generator.
25      */
26     public void initialize();
27
28     /**
29      * Generates the ThingType and ChannelTypes for the given device.
30      */
31     public void generate(HmDevice device);
32
33     /**
34      * Validates all devices for multiple firmware versions. Different firmware versions for the same device may have
35      * different datapoints which may cause warnings in the logfile.
36      */
37     public void validateFirmwares();
38 }