mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-10 21:31:53 +01:00
Applied formatter in all files
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
This commit is contained in:
parent
8d5d789371
commit
a18e60d7d7
@ -19,7 +19,6 @@ import static ${package}.internal.${bindingIdCamelCase}BindingConstants.*;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.eclipse.jdt.annotation.Nullable;
|
||||
import ${package}.internal.${bindingIdCamelCase}Configuration;
|
||||
import org.eclipse.smarthome.core.thing.ChannelUID;
|
||||
import org.eclipse.smarthome.core.thing.Thing;
|
||||
import org.eclipse.smarthome.core.thing.ThingStatus;
|
||||
@ -40,8 +39,7 @@ public class ${bindingIdCamelCase}Handler extends BaseThingHandler {
|
||||
|
||||
private final Logger logger = LoggerFactory.getLogger(${bindingIdCamelCase}Handler.class);
|
||||
|
||||
@Nullable
|
||||
private ${bindingIdCamelCase}Configuration config;
|
||||
private @Nullable ${bindingIdCamelCase}Configuration config;
|
||||
|
||||
public ${bindingIdCamelCase}Handler(Thing thing) {
|
||||
super(thing);
|
||||
|
@ -22,7 +22,6 @@ import java.util.Set;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.eclipse.jdt.annotation.Nullable;
|
||||
import ${package}.internal.${bindingIdCamelCase}Handler;
|
||||
import org.eclipse.smarthome.core.thing.Thing;
|
||||
import org.eclipse.smarthome.core.thing.ThingTypeUID;
|
||||
import org.eclipse.smarthome.core.thing.binding.BaseThingHandlerFactory;
|
||||
|
@ -8,6 +8,10 @@ binding.${bindingId}.description = <Your localized Binding description>
|
||||
thing-type.${bindingId}.sample.label = <Your localized Thing label>
|
||||
thing-type.${bindingId}.sample.description = <Your localized Thing description>
|
||||
|
||||
# thing type config description
|
||||
thing-type.config.${bindingId}.sample.config1.label = <Your localized config parameter label>
|
||||
thing-type.config.${bindingId}.sample.config1.description = <Your localized config parameter description>
|
||||
|
||||
# channel types
|
||||
channel-type.${bindingId}.sample-channel.label = <Your localized Channel label>
|
||||
channel-type.${bindingId}.sample-channel.description = <Your localized Channel description>
|
||||
|
@ -15,8 +15,8 @@
|
||||
|
||||
<config-description>
|
||||
<parameter name="config1" type="text" required="true">
|
||||
<label>Sample parameter</label>
|
||||
<description>This is a sample text configuration parameter.</description>
|
||||
<label>Sample Parameter</label>
|
||||
<description>This is a sample text configuration parameter</description>
|
||||
</parameter>
|
||||
</config-description>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user