hap::accessory::switch
pub fn new(information: Information) -> Result<Switch, Error>
Creates a new Switch Accessory.