Remove SmartHome leftovers (#9283)
Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user