This should do the trick:
device_node_map = device.node_maps['Device']
exposure_time = device_node_map['ExposureTime']
exposure_time.value = 20000.0
Or even shorter for feature nodes:
device_nodes = device.node_maps['Device']
device_nodes.ExposureTime.value = 20000.0