code: public Thing addStateProperty(String key, Object value) {
  		if (!StringUtils.isBlank(key) && value != null) {
  			getDeviceState().put(key, value);
  		}
  		return this;
  	}
docs: Adds a new key/value pair to the map.
  @param key a key
  @param value a value
  @return this