Interface DeviceClass
-
- All Implemented Interfaces:
public interface DeviceClassDevice classes are "things" HA knows about that can handle values with units.
-
-
Method Summary
Modifier and Type Method Description UnitaddDiscovery(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 StringgetName()-
-
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.
-
-
-
-