Remove SmartHome leftovers (#9283)

Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
Wouter Born
2020-12-08 18:03:49 +01:00
committed by GitHub
parent af4371844d
commit d2e5c3e7dd
64 changed files with 132 additions and 139 deletions

View File

@@ -151,7 +151,7 @@ public class Device implements AbstractMqttAttributeClass.AttributeChanged {
}
/**
* Get a homie property (which translates to an ESH channel).
* Get a homie property (which translates to a channel).
*
* @param channelUID The group ID corresponds to the Homie Node, the channel ID (without group ID) corresponds to
* the Nodes Property.

View File

@@ -40,7 +40,7 @@ import org.slf4j.LoggerFactory;
* Homie 3.x Node.
*
* A Homie Node contains Homie Properties ({@link Property}) but can also have attributes ({@link NodeAttributes}).
* It corresponds to an ESH ChannelGroup.
* It corresponds to a ChannelGroup.
*
* @author David Graeff - Initial contribution
*/
@@ -53,7 +53,6 @@ public class Node implements AbstractMqttAttributeClass.AttributeChanged {
public ChildMap<Property> properties;
// Runtime
public final DeviceCallback callback;
// ESH
protected final ChannelGroupUID channelGroupUID;
public final ChannelGroupTypeUID channelGroupTypeUID;
private final String topic;

View File

@@ -27,7 +27,7 @@ import org.openhab.binding.mqtt.generic.mapping.TopicPrefix;
public class NodeAttributes extends AbstractMqttAttributeClass {
public @MandatoryField String name;
public @MandatoryField @MQTTvalueTransform(splitCharacter = ",") String[] properties;
// Type has no meaning for ESH yet and is currently purely of textual, descriptive nature
// Type has no meaning yet and is currently purely of textual, descriptive nature
public String type;
@Override

View File

@@ -52,7 +52,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* A homie Property (which translates into an ESH channel).
* A homie Property (which translates into a channel).
*
* @author David Graeff - Initial contribution
*/
@@ -65,7 +65,6 @@ public class Property implements AttributeChanged {
public final String propertyID;
// Runtime state
protected @Nullable ChannelState channelState;
// ESH
public final ChannelUID channelUID;
public final ChannelTypeUID channelTypeUID;
private ChannelType type;