def devices
      send(:devdetails) do |body|
        body[:devdetails].collect { |attrs|
          attrs.delete(:devdetails)
          attrs[:variant] = attrs.delete(:name).downcase
          attrs
        }
      end
    end
def devices
      send(:devdetails) do |body|
        body[:devdetails].collect { |attrs|
          attrs.delete(:devdetails)
          attrs[:variant] = attrs.delete(:name).downcase
          attrs
        }
      end
    end
Initializes a new `Client` for executing commands.

 @param [String] host
   The host to connect to.

 @param [Integer] port
   The port to connect to.

 Sends the `devdetails` command, returning an array of devices found in the
 service's response.

 @return [Response]
   An array of devices.