def add(device_id, host, adbkey='<STR_LIT>', adb_server_ip='<STR_LIT>', adb_server_port=<NUM_LIT>):
valid = is_valid_device_id(device_id) and is_valid_host(host)<EOL>if valid:<EOL><INDENT>devices[device_id] = FireTV(str(host), str(adbkey), str(adb_server_ip), str(adb_server_port))<EOL><DEDENT>return valid<EOL>
Add a device.

    Creates FireTV instance associated with device identifier.

    :param device_id: Device identifier.
    :param host: Host in <address>:<port> format.
    :param adbkey: The path to the "adbkey" file
    :param adb_server_ip: the IP address for the ADB server
    :param adb_server_port: the port for the ADB server
    :returns: Added successfully or not.