Interface DeviceClass
-
- All Implemented Interfaces:
public interface DeviceClass
Device classes are "things" HA knows about that can handle values with units.
-
-
Method Summary
Modifier and Type Method Description Unit
addDiscovery(JSONObject json, String unitOfMeasurement)
Modifies the given JSON object by removing the "icon" and replacing with the "device type" if this type is not NONE. abstract String
getName()
-
-
Method Detail
-
addDiscovery
Unit addDiscovery(JSONObject json, String unitOfMeasurement)
Modifies the given JSON object by removing the "icon" and replacing with the "device type" if this type is not NONE.
-
-
-
-