public ArrayList<Device> findDeviceByPower(int minPower, int maxPower) throws LogicException{

        if (minPower > maxPower) {
            LOG.error("Wrong searching options");
            throw new LogicException("ERROR Min value can not be bigger then Max value");
        }

        ArrayList<Device> foundDevices = new ArrayList<Device>();
        for (Device device : devicesInHouse) {
            if (device.getPower() >= minPower && device.getPower() <= maxPower) {
                LOG.info(device + "has been found");
                foundDevices.add(device);
            }
        }
        if (foundDevices.isEmpty()) {
            LOG.info("No Devices were found");
            return foundDevices;
        } else {
            return foundDevices;
        }
    }