Lono::Device.new(device_id, session_token)

Creates a new device instance with the specified device id and session token.

token = Lono::SessionToken.fetch
device = Lono::Device.new "device id", token

# now, you can do something like this:
# device.set_zone(0, true)